[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: |
Tue, 01 Sep 2009 12:19:27 -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?
> When you call a major mode function, it selects that mode.
> So when users call a minor mode function, they will expect it
> to select that mode too.
So you argue for "turn it on" rather than "toggle". I fully agree.
Stefan