[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to apply a minor mode to all buffers
From: |
Robert Thorpe |
Subject: |
Re: How to apply a minor mode to all buffers |
Date: |
8 Feb 2007 08:26:46 -0800 |
User-agent: |
G2/1.0 |
On Feb 8, 12:30 pm, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On 2/8/07, Leonardo Boiko <leobo...@gmail.com> wrote:
>
> > My argument is: fundamental-mode-hook would be a nice thing to have
> > because people might want to run elisp code (not just to set
> > variables) every time a buffer is created.
>
> Karl Fogel just checked in such a change:
>
> 2007-02-08 Karl Fogel <kfo...@red-bean.com>
>
> * lisp/simple.el (fundamental-mode-hook): Declare new hook.
> (fundamental-mode): Run the new dedicated hook, and don't run
> after-change-major-mode-hooks manually anymore.
Does that mean that fundamental-mode-hook will run whenever a temp-
buffer is created in elisp code?
- Re: How to apply a minor mode to all buffers, (continued)