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

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

Re: hooks, again


From: Emanuel Berg
Subject: Re: hooks, again
Date: Thu, 07 May 2015 00:21:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> So, IIUC, you're heading a revolution to kill all
> uses of add-hook, tho only those performed by the
> end user in her ~/.emacs and only on those few
> "safe" hooks like major-mode hooks where it makes
> no difference?

The difference is that it is easier to see what the
hook is, it is more convenient and faster to remove
and add stuff, the code is less bulky, and when
experimenting to get a desired behavior you neither
have to remove failed attempts or worry that (if left
behind) they will interfere with what you try to do.

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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