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

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

Re: hook for buffer creation


From: Stefan Monnier
Subject: Re: hook for buffer creation
Date: Tue, 04 May 2010 15:43:08 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> If you want only the text-editing buffers, regardless of the major mode,
>> then putting a defadvice on fundamental-mode (it doesn't have a hook),
>> should work.

It does have a hook: after-change-major-mode-hook
This was introduced in Emacs-22.1, IIRC.


        Stefan


reply via email to

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