emacs-devel
[Top][All Lists]
Advanced

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

Re: unload-feature questions and thoughts


From: Juanma Barranquero
Subject: Re: unload-feature questions and thoughts
Date: Wed, 10 Oct 2007 19:07:14 +0200

On 10/10/07, Davis Herring <address@hidden> wrote:

> Perhaps, instead of
> defining a return value for the hook, we should always do the heuristics
> and have the FEATURE-unload-hook do only extra things, because I can't see
> how the heuristics would do too much.  Moreover, the hook may modify
> `unload-hook-features-list', even to nil, if it really needs to override
> the heuristics.

Yes, that's what I've been proposing. It should have to be a new hook
for compatibility, I think.

> Of course, a new doc string that describes the final behavior should be
> written, but there's no point in writing two new ones.  (The doc should
> probably list what the function does more explicitly, so that package
> authors can see whether they need to write a hook.)

Agreed.

             Juanma




reply via email to

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