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

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

Re: hooks, again


From: Stefan Monnier
Subject: Re: hooks, again
Date: Wed, 06 May 2015 16:31:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> But as seen earlier, you have to look at the value
>> of `foo-hook' before this setq takes place to be
>> sure it's safe. So you still need "the help or
>> evaluation of the variable name or anything".
> Yes, but only once.

By the same argument, you'd also only need to do it once when using
`add-hook'.

> Che Guevara said revolutionaries aren't normal people.

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?

Wow, that's bold!


        Stefan




reply via email to

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