emacs-devel
[Top][All Lists]
Advanced

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

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


From: Rüdiger Sonderfeld
Subject: Re: `turn-on-eldoc-mode' obsolete?
Date: Thu, 10 Apr 2014 13:22:04 +0200
User-agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; )

Hi,

On Thursday 10 April 2014 13:12:46 Tassilo Horn wrote:
> 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?

Regards,
Rüdiger




reply via email to

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