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

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

Re: header-line-format hacking


From: David Hansen
Subject: Re: header-line-format hacking
Date: Tue, 25 Jan 2005 11:50:06 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Tue, 25 Jan 2005 09:30:42 +0000 (UTC) ytrewq1 <address@hidden> wrote:

> Is there a recommended way to modify header-line-format?  If
> possible, I'd like to augment an existing value (for cases
> where that makes sense) rather than override it.  Grepping
> Emacs source, I've noticed a few places where it's overridden
> but haven't found an example of modification.

Just set `header-line-format', e.g:

(setq header-line-format (concat (or header-line-format "") " test"))

will append " test" to the header line of the current buffer.

David


reply via email to

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