help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to highlight the current buffer's mode line ?


From: Xah Lee
Subject: Re: How to highlight the current buffer's mode line ?
Date: Wed, 5 Aug 2009 19:55:02 -0700 (PDT)
User-agent: G2/1.0

On Aug 5, 4:44 pm, bojohan+n...@dd.chalmers.se (Johan Bockgård) wrote:
> Francis Moreau <francis.m...@gmail.com> writes:
> > I'd like to modify the mode line in order to easily see which buffer
> > is the current one when multiple buffers are visible at the same time.
>
> The selected window's mode line uses a different color by default (face
> `mode-line' vs `mode-line-inactive').

you might also try:

; highlight current line
(add-hook 'text-mode-hook
 (lambda ()
  (hl-line-mode 1)))

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]