]> git.eshelyaron.com Git - emacs.git/commitdiff
Core Advising Primitives `interactive' clarification
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 4 Aug 2019 12:07:06 +0000 (14:07 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 4 Aug 2019 12:07:06 +0000 (14:07 +0200)
* doc/lispref/functions.texi (Core Advising Primitives): Clarify
when the interactive spec is a function (bug#17871).

doc/lispref/functions.texi

index 6eb1af68de0183605bfa2ed9aecc7fc104b4e606..28da3cfb99289cf901c8d1c5814a278677d0fa2a 100644 (file)
@@ -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}.