[Top][All Lists]

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

Re: defadvice file-expand-wildcards ad-do-it value

From: Kevin Ryde
Subject: Re: defadvice file-expand-wildcards ad-do-it value
Date: Mon, 09 Nov 2009 09:01:04 +1100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Michael Albinus <address@hidden> writes:
> OK, I've added your patch.

In the unload, I think after ad-remove-advice that

    (ad-activate 'file-expand-wildcards)

is also needed to actually update the function's definition (per my
second diff).

(I've never understood why those add/remove/enable/disable funcs don't
update the func immediately.  I suppose it saves some cycles not to
update in between multiple updates, but the scope for not getting what
you mean is a bit high!)

reply via email to

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