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

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

bug#10909: 24.0.94; doc of `define-minor-mode'


From: Chong Yidong
Subject: bug#10909: 24.0.94; doc of `define-minor-mode'
Date: Sat, 22 Sep 2012 23:25:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> The non-interactive description says only "When called from Lisp, it
> enables the mode if the argument is omitted or nil, and toggles the mode
> if the argument is `toggle'."
>  
> IOW, it says nothing about what happens when an arg is passed that is
> not nil or omitted or `toggle'.  And I've seen at least one user try to
> use `(foo-mode t)'.  It turns out that that has the same effect as
> `(foo-mode 1)', but nothing in the doc says that it should.

Fixed in trunk.





reply via email to

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