[Top][All Lists]

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

Re: `turn-on-eldoc-mode' obsolete?

From: Tassilo Horn
Subject: Re: `turn-on-eldoc-mode' obsolete?
Date: Thu, 10 Apr 2014 13:37:44 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)

Rüdiger Sonderfeld <address@hidden> writes:

Hi Rüdiger,

>> It used to be but not anymore.  Now all minor-modes defined with
>> `define-minor-mode' (which see) are turned on when passed no
>> argument.  Thus
>>   (add-hook 'some-mode-hook #'some-minor-mode)
>> will always enable some-minor-mode.
>> The toggling behavior is only active in interactive calls or from lisp
>> if you provide 'toggle as argument.
> that makes sense.  So all `turn-on-*' functions should eventually be
> removed?

Yes, I guess so.


reply via email to

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