diff options
| author | Lars Ingebrigtsen | 2019-08-04 14:07:06 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-04 14:07:06 +0200 |
| commit | 151a99cca92997dd4936e679c7efc2c2bafa0f72 (patch) | |
| tree | c3ab98773c7efed2d308df74003b826072fd1b36 | |
| parent | 2abcca23910d1fa5fe0bcac3ebc5b62df8e0a741 (diff) | |
| download | emacs-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.texi | 3 |
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 | |||
| 1707 | the interactive spec, if any, of the original function. Else, the combined | 1707 | the interactive spec, if any, of the original function. Else, the combined |
| 1708 | function will be interactive and will use the interactive spec of | 1708 | function 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} |
| 1710 | is a function (rather than an expression or a string), then the interactive | 1710 | is a function (i.e., a @code{lambda} expression or an @code{fbound} |
| 1711 | symbol rather than an expression or a string), then the interactive | ||
| 1711 | spec of the combined function will be a call to that function with as sole | 1712 | spec of the combined function will be a call to that function with as sole |
| 1712 | argument the interactive spec of the original function. To interpret the spec | 1713 | argument the interactive spec of the original function. To interpret the spec |
| 1713 | received as argument, use @code{advice-eval-interactive-spec}. | 1714 | received as argument, use @code{advice-eval-interactive-spec}. |