[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10909: 24.0.94; doc of `define-minor-mode'
From: |
Stefan Monnier |
Subject: |
bug#10909: 24.0.94; doc of `define-minor-mode' |
Date: |
Sun, 23 Sep 2012 11:25:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
>> 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.
Actually, I think the right fix is to replace calls that use t with
calls that use 1, rather than documenting the accidental behavior.
Stefan