[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image-load-path / tool-bar icons / dumped Emacs with images.el
From: |
Kim F. Storm |
Subject: |
Re: image-load-path / tool-bar icons / dumped Emacs with images.el |
Date: |
Fri, 21 Oct 2005 17:08:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> In general, maybe we could set "run-once" hook variables to t after
>> they have run, and signal an error if someone tries to modify a hook
>> which is t.
>
> Sounds like a good idea. But I'm wondering how many such hooks exist and
> what happens to code that checks (eq foo-hook t) when Emacs changes cause
> the hook to not be t any more because it may be run again later (I'm
> thinking of things like term-setup-hook which currently can only be run
> once but which may be run several times once we add multi-tty).
Ok, so we have to think carefully before setting a hook to t.
But in any case, such _errors_ only need to be found once :-)
--
Kim F. Storm <address@hidden> http://www.cua.dk