[Top][All Lists]

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

Re: org-mode and mode hooks.

From: Lute Kamstra
Subject: Re: org-mode and mode hooks.
Date: Wed, 25 May 2005 17:44:21 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:


> While I think that org-mode should use define-derived-mode, I'm wondering
> why it's a problem that after-change-major-mode-hook is run at the
> wrong time.  After all, such manual mode derivation (without using
> define-derived-mode) is pretty common, so if there's a problem with it, we
> should fix it.

It is a problem in combination with a global minor mode defined with
define-global-minor-mode since this change:

2005-05-22  Luc Teirlinck  <address@hidden>

        * emacs-lisp/easy-mmode.el (define-global-minor-mode): Use
        `after-change-major-mode-hook' instead of `find-file-hook'.

See another message of mine in this thread.


reply via email to

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