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: Lars Ingebrigtsen
Subject: bug#17871: 24.4.50; (elisp) `Core Advising Primitives': interactive spec as function?
Date: Sun, 04 Aug 2019 14:56:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> I guess SPEC is never functionp, at least after that change.  By
> skimming over the code, the
>
>   (interactive (lambda (old-interactive-form) ...))
>
> case is transformed by `advice--make-interactive-form' to something else
> that is not a function, and apart from this, interactive specs are never
> functionp.

Ah, right.  But since `advice--make-interactive-form' does the
transform, then I guess functionp interactive specs in advice is still
allowed?

And then we should add an example in the manual, I think.  Anybody got
one?  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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