[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'Strange' changes in status line
From: |
Glenn Morris |
Subject: |
Re: 'Strange' changes in status line |
Date: |
Fri, 29 Aug 2008 12:34:40 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Eli Zaretskii wrote:
>> (setq mode-line-frame-identification '(:eval (mode-line-frame-control)))
>> (put 'mode-line-frame-identification 'risky-local-variable t)
>
> Installed.
No need for a separate setq, you can do the setting in the defvar
(sorry for being unclear, that was an example rather than a patch).
Also, the change to use initial-window-system in
mode-line-frame-control is wrong, again because of multi-tty mixed X
and tty frames. Just using the variable (no need for the function)
window-system seems fine.