[EMAIL PROTECTED] (Johan Bockgård) writes:
>>> Modes derived from fundamental mode run after-change-major-mode-hook
>>> twice because fundamental mode runs it unconditionally.
>
> I don't understand this. As define-derived-mode is currently defined modes
> derived from fundamental-mode do not auto
I have some questions.
Richard Stallman <[EMAIL PROTECTED]> writes:
> Lute Kamstra wrote:
>> Modes derived from fundamental mode run after-change-major-mode-hook
>> twice because fundamental mode runs it unconditionally.
I don't understand this. As define-derived-mode is currently defined mode
Richard Stallman <[EMAIL PROTECTED]> writes:
> Modes derived from fundamental mode run after-change-major-mode-hook
> twice because fundamental mode runs it unconditionally. Fundamental
> mode should only run after-change-major-mode-hook if delay-mode-hooks
> is nil. We can eithe
Modes derived from fundamental mode run after-change-major-mode-hook
twice because fundamental mode runs it unconditionally. Fundamental
mode should only run after-change-major-mode-hook if delay-mode-hooks
is nil. We can either test this directly or use (run-mode-hooks
'funda
> The latter also introduces
> fundamental-mode-hook, of course. I see no problem with that, but I'm
> a bit surprised it hasn't been done already. (So I suspect there is
> some reason for not running fundamental-mode-hook.)
Probably no one needed fundamental-mode-hook before. (run-mode-hooks
'f