emacs-devel
[Top][All Lists]
Advanced

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

Re: Running a major-mode without invoking its hooks


From: Dmitry
Subject: Re: Running a major-mode without invoking its hooks
Date: Wed, 23 Jul 2014 07:25:32 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Hi Bozhidar,

Bozhidar Batsov <address@hidden> writes:
> I was wondering what’s the preferred approach to run a major mode
> without triggering any if its hooks.

Try binding `delay-mode-hooks' to t around the call.

And maybe `delayed-mode-hooks' to nil, also, so that they aren't
triggered later.



reply via email to

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