bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9214: `fundamental-mode-hook' not run when setting up `fundamental-m


From: Juanma Barranquero
Subject: bug#9214: `fundamental-mode-hook' not run when setting up `fundamental-mode' under certain circumstances; Info documentation incorrect
Date: Sun, 29 Jan 2012 00:34:53 +0100

2012/1/28 Štěpán Němec <address@hidden>:

> And, how can I run code whenever a new buffer is setup (in
> fundamental-mode), if `fundamental-mode-hook' is not meant for that?

You can perhaps fake it with some combination of (setq-default
major-mode my-fundamental-mode), `buffer-list-update-hook', and
advices. It won't be pretty, though.

    Juanma





reply via email to

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