emacs-devel
[Top][All Lists]
Advanced

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

Re: Fundamental mode vs. special mode


From: Chong Yidong
Subject: Re: Fundamental mode vs. special mode
Date: Thu, 27 Oct 2011 10:25:47 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     > Keep going guys, this is improving.
>     > Here's my best so far: `before-major-mode-hook' (after all, it's the
>     > hook run before the major mode's).
>
>     How about `new-major-mode-hook'?
>
> Why do we want this, given that there is already
> change-major-mode-hook and each major mode has a hook?

It's used in a change to define-globalized-minor-mode that allows
enabled global minor modes to be turned off locally in mode hooks.



reply via email to

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