[Top][All Lists]

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

Misleading `window-system' docstring (was Re: Dashes in mode-line)

From: Štěpán Němec
Subject: Misleading `window-system' docstring (was Re: Dashes in mode-line)
Date: Wed, 20 Oct 2010 15:05:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Julien Danjou <address@hidden>
>> Cc: address@hidden
>> Date: Tue, 19 Oct 2010 12:32:33 +0200
>> +         `(:eval (unless window-system
>> +                   ,(propertize "-%-" 'help-echo help-echo)))))
> Using window-system is not right here, because the DOS port defines a
> non-nil value, but uses a text terminal.

Could you please fix the docstring of `window-system' to reflect that?
It seems to be widely used that (incorrect, as you point out) way, and
its docstring is pretty clear (and thus incorrect) on the matter:

  The value is nil if the selected frame is on a text-only-terminal.


reply via email to

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