From: Lars Ingebrigtsen Date: Sun, 4 Aug 2019 12:07:06 +0000 (+0200) Subject: Core Advising Primitives `interactive' clarification X-Git-Tag: emacs-27.0.90~1712^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=151a99cca92997dd4936e679c7efc2c2bafa0f72;p=emacs.git Core Advising Primitives `interactive' clarification * doc/lispref/functions.texi (Core Advising Primitives): Clarify when the interactive spec is a function (bug#17871). --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 6eb1af68de0..28da3cfb992 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -1707,7 +1707,8 @@ If @var{function} is not interactive, then the combined function will inherit the interactive spec, if any, of the original function. Else, the combined function will be interactive and will use the interactive spec of @var{function}. One exception: if the interactive spec of @var{function} -is a function (rather than an expression or a string), then the interactive +is a function (i.e., a @code{lambda} expression or an @code{fbound} +symbol rather than an expression or a string), then the interactive spec of the combined function will be a call to that function with as sole argument the interactive spec of the original function. To interpret the spec received as argument, use @code{advice-eval-interactive-spec}.