emacs-devel
[Top][All Lists]
Advanced

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

Re: globalized minor modes - priority over mode hook?


From: Lennart Borgman
Subject: Re: globalized minor modes - priority over mode hook?
Date: Tue, 27 Apr 2010 00:45:20 +0200

On Mon, Apr 26, 2010 at 7:56 PM, Stefan Monnier
<address@hidden> wrote:
>>>> `run-mode-hooks' runs the mode hooks first, then
>>>> after-change-major-mode-hooks.
>>> That would be a bug.  Do you have a recipe to reproduce it?
>> Yes, below.
>
> Oops, sorry, I misunderstood.
> Yes, indeed, it will be run last.  And it will also be run first if the
> mode is written "properly" (by inheriting from some other mode).
> We should maybe split this into two parts: fundamental-mode-hook and
> after-change-major-mode-hook, the first is the one run before any other
> mode hook and the second is run after all other mode hooks.

Sounds great.




reply via email to

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