Subject: Re: bug#9214: `fundamental-mode-hook' not run when setting up `fundamental-mode' under certain circumstances; Info documentation incorrect

From: Juanma Barranquero <[email-masked]>
Date: Sun, 29 Jan 2012 02:44:27 +0100

On Sun, Jan 29, 2012 at 02:40, Chong Yidong <[email-masked]> wrote:

> Or use after-change-major-mode-hook.

The OP's use case

(with-current-buffer (get-buffer-create "f-m-test-buf")
 major-mode)

does not run after-change-major-mode-hook, I think.

    Juanma