[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turning on minor modes from hooks
From: |
Stefan Monnier |
Subject: |
Re: turning on minor modes from hooks |
Date: |
Mon, 31 Aug 2009 19:32:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>>> A call with no arguments, as in (auto-save-mode), naturally ought to
>>> toggle the mode or turn it on.
>> Care to explain why?
> Note that he said "or turn it on"; I think the point was to distinguish
> those possibilities from "unconditionally turn it off".
Toggling is just wrong for it. I understand why it's like this right
now, but from an Lisp point of view, it's just not the right choice, and
there's no need here to distinguish a nil arg from the absence of an arg.
Stefan
- Re: turning on minor modes from hooks, (continued)
Re: turning on minor modes from hooks, Richard Stallman, 2009/08/30
Re: turning on minor modes from hooks, Daniel Colascione, 2009/08/31
Re: turning on minor modes from hooks, Tassilo Horn, 2009/08/31
Re: turning on minor modes from hooks, Stefan Monnier, 2009/08/31
Re: turning on minor modes from hooks, Stephen J. Turnbull, 2009/08/31