emacs-devel
[Top][All Lists]
Advanced

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

Re: Using mode: for minor modes


From: Glenn Morris
Subject: Re: Using mode: for minor modes
Date: Sun, 27 Nov 2011 14:04:14 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Chong Yidong wrote:

> I don't recall the rationale for this:
>
>   *** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
>   Instead, use "eval: (minor-mode 1)".
>
> In Emacs 24, `mode: MINOR-MODE' always enable MINOR-MODE if it's a minor
> mode.  That seems to work OK; so why does NEWS say it's deprecated?

It is deprecated so that it (ie, allowing mode: to specify any number of
minor modes as well as the major mode) can be removed in future.
The discussion of the rationale is in
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8613 .

I believe the manual is already updated for this.



reply via email to

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