[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
the ...-unload-hook convention doesn't work
From: |
Luc Teirlinck |
Subject: |
the ...-unload-hook convention doesn't work |
Date: |
Mon, 5 Jan 2004 12:24:51 -0600 (CST) |
Dave Love wrote:
I'm confused by this, since I'm sure it worked when I implemented it,
but the installed code never seems to have been right since it's
calling a function as if it were a hook list.
It now is supposed to be a normal hook. From (elisp)Unloading:
If `FEATURE-unload-hook' is defined, it is run as a normal hook
before restoring the previous definitions, _instead of_ the usual
hook-removing actions.
But how could this have broken things? `run-hooks' is supposed to be
able to handle a single function instead of a list, so there should be
no problems with compatibility in as far as line 143 is concerned.
Are there concrete examples of problems arising from either defining
FEATURE-unload-hook as a function (even though, according to the Elisp
manual, this is now considered obsolete) or defining it as a normal
hook?
Sincerely,
Luc.
- the ...-unload-hook convention doesn't work, Dave Love, 2004/01/05
- the ...-unload-hook convention doesn't work,
Luc Teirlinck <=
- Re: the ...-unload-hook convention doesn't work, Dave Love, 2004/01/06
- Re: the ...-unload-hook convention doesn't work, Richard Stallman, 2004/01/07
- Re: the ...-unload-hook convention doesn't work, Dave Love, 2004/01/09
- Re: the ...-unload-hook convention doesn't work, Luc Teirlinck, 2004/01/09
- Re: the ...-unload-hook convention doesn't work, Richard Stallman, 2004/01/11
- Re: the ...-unload-hook convention doesn't work, Kevin Rodgers, 2004/01/12
- Re: the ...-unload-hook convention doesn't work, Dave Love, 2004/01/15
- Message not available
- Re: the ...-unload-hook convention doesn't work, Simon Josefsson, 2004/01/16
- Re: the ...-unload-hook convention doesn't work, Richard Stallman, 2004/01/16
- Re: the ...-unload-hook convention doesn't work, Simon Josefsson, 2004/01/16