[Top][All Lists]

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

Re: How to customize the mode line ?

From: Kevin Rodgers
Subject: Re: How to customize the mode line ?
Date: Thu, 18 Dec 2003 10:31:47 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Apokrif wrote:

I'd like to add a simple message to my mode line. Of course, I can
type for instance:

(setq mode-name (concat mode-name "foo-bar"))

but as mode-name is a variable and not a function, this works only for
the current buffer. How can I modify this line so that the message
keeps being displayed in all buffers when I stay in a particular mode
(and change the message from time to time )?

Look for `(:eval FORM)' in the Mode Line Data node of the Emacs Lisp manual.

Kevin Rodgers

reply via email to

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