[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enable some modes in every buffer
From: |
Tassilo Horn |
Subject: |
Re: Enable some modes in every buffer |
Date: |
Thu, 19 Feb 2009 23:16:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
TheLonelyStar <nabble2@lonely-star.org> writes:
Hi!
> There are some modes (flyspell-mode, higlight-paranthese-mode) which I
> always have to enable when I open a new buffer. I want them enabeld in
> EVERY buffer.
> I know, I can add them to specific buffer hooks (like cc-mode), but is
> can I somehow enable them in every new buffer?
Try this hook.
,----[ C-h v after-change-major-mode-hook RET ]
| after-change-major-mode-hook is a variable defined in `subr.el'.
| Its value is
| (global-auto-composition-mode-enable-in-buffers
global-font-lock-mode-enable-in-buffers)
|
|
| Documentation:
| Normal hook run at the very end of major mode functions.
`----
Bye,
Tassilo