|
From: | Kevin Rodgers |
Subject: | Re: Mode to display information in the topmost line of a window |
Date: | Thu, 30 Jul 2009 22:08:32 -0600 |
User-agent: | Thunderbird 2.0.0.22 (Macintosh/20090605) |
Geralt wrote:
What's the prefered way to overwrite a function? Just putting this one into .emacs?
Don't overwrite it, so that you don't have to track changes to its implementation: (defadvice eldoc-message (after header-line-format activate) "If `eldoc-last-message' is non-nil, set `header-line-format'." (when eldoc-last-message (setq header-line-format 'eldoc-last-message) (force-mode-line-update))) -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |