emacs-devel
[Top][All Lists]
Advanced

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

Re: Small but confusing doc error in easy-menu-define


From: Lennart Borgman (gmail)
Subject: Re: Small but confusing doc error in easy-menu-define
Date: Fri, 13 Apr 2007 00:23:44 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Davis Herring wrote:
The current documentation reads:

"If SYMBOL is non-nil, store the menu keymap in the value of symbol,
and define symbol as a function to pop up the menu, with doc as its
doc string."

Lennart suggested:

"SYMBOL should be a symbol. If it is not the symbol nil ..."

Obviously "If it is not the symbol nil" is the same as "If it is non-nil",
so we have the equivalent of "If SYMBOL (which should be a symbol) is
non-nil, ...".  I fail to see the point in merely adding that an argument
named SYMBOL should be, um, a symbol.

It is different level of abstraction, isn't it? Does not "non-nil" in Emacs doc usually means that a symbol value is not nil?




reply via email to

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