[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remove-hook.
From: |
Stefan Monnier |
Subject: |
Re: remove-hook. |
Date: |
07 Oct 2003 09:42:23 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> When does remove-hook need to make a hook buffer-local to remove a
> function from it?
(add-hook 'foo-hook 'bar)
(remove-hook 'foo-hook 'bar 'local)
Stefan
PS: Admittedly, this doesn't work in Emacs-CVS because the only way this
can work is if we can put "negative" entries on the local side of
a hook to disable an element on the global side. I have code to make
it work, but last time this came up RMS said it was overkill.
Re: remove-hook., Luc Teirlinck, 2003/10/07
Re: remove-hook., Richard Stallman, 2003/10/08