bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17871: 24.4.50; (elisp) `Core Advising Primitives': interactive spec


From: Stefan Monnier
Subject: bug#17871: 24.4.50; (elisp) `Core Advising Primitives': interactive spec as function?
Date: Sun, 25 Aug 2019 11:51:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Maybe in this case it'd do what you want, but in many other cases
>> it wouldn't.
> Do you mean cases where one might _want_ to only affect the body, not
> the interactive form? I can't really imagine anything like that... do
> you have anything concrete in mind?

Hmm... I suggest you try

    grep 'advice-add.*:around' **/*.el

and then look for the matches where the advised function
is interactive.  I haven't looked at all of them, but all those that
I checked wouldn't make sense when applied to the interactive spec.


        Stefan






reply via email to

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