aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-04 14:07:06 +0200
committerLars Ingebrigtsen2019-08-04 14:07:06 +0200
commit151a99cca92997dd4936e679c7efc2c2bafa0f72 (patch)
treec3ab98773c7efed2d308df74003b826072fd1b36
parent2abcca23910d1fa5fe0bcac3ebc5b62df8e0a741 (diff)
downloademacs-151a99cca92997dd4936e679c7efc2c2bafa0f72.tar.gz
emacs-151a99cca92997dd4936e679c7efc2c2bafa0f72.zip
Core Advising Primitives `interactive' clarification
* doc/lispref/functions.texi (Core Advising Primitives): Clarify when the interactive spec is a function (bug#17871).
-rw-r--r--doc/lispref/functions.texi3
1 files changed, 2 insertions, 1 deletions
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
1707the interactive spec, if any, of the original function. Else, the combined 1707the interactive spec, if any, of the original function. Else, the combined
1708function will be interactive and will use the interactive spec of 1708function will be interactive and will use the interactive spec of
1709@var{function}. One exception: if the interactive spec of @var{function} 1709@var{function}. One exception: if the interactive spec of @var{function}
1710is a function (rather than an expression or a string), then the interactive 1710is a function (i.e., a @code{lambda} expression or an @code{fbound}
1711symbol rather than an expression or a string), then the interactive
1711spec of the combined function will be a call to that function with as sole 1712spec of the combined function will be a call to that function with as sole
1712argument the interactive spec of the original function. To interpret the spec 1713argument the interactive spec of the original function. To interpret the spec
1713received as argument, use @code{advice-eval-interactive-spec}. 1714received as argument, use @code{advice-eval-interactive-spec}.