diff options
| author | Glenn Morris | 2014-03-21 00:06:55 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-03-21 00:06:55 -0700 |
| commit | 9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529 (patch) | |
| tree | 7b13f4e26f60c70573459ea17c0d9dc18a544585 /doc | |
| parent | f167458b5ec8e09baed154d12efa5b70cf1ad9d4 (diff) | |
| download | emacs-9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529.tar.gz emacs-9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529.zip | |
* lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index c2d6c8d7012..331784ecae0 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-03-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * commands.texi (Defining Commands): Copyedit re `interactive-only'. | ||
| 4 | |||
| 1 | 2014-03-20 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-03-20 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * internals.texi (C Integer Types): Prefer 'false' and 'true' | 7 | * internals.texi (C Integer Types): Prefer 'false' and 'true' |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 5c28522158a..198926a9a6a 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -123,11 +123,10 @@ value for this property takes precedence over any @code{interactive} | |||
| 123 | form in the function body itself. This feature is seldom used. | 123 | form in the function body itself. This feature is seldom used. |
| 124 | 124 | ||
| 125 | @cindex @code{interactive-only} property | 125 | @cindex @code{interactive-only} property |
| 126 | Sometimes, a named command is only intended to be called | 126 | Sometimes, a function is only intended to be called interactively, |
| 127 | interactively, never directly from Lisp. In that case, give it a | 127 | never directly from Lisp. In that case, give the function a |
| 128 | non-@code{nil} @code{interactive-only} property. In that case, the | 128 | non-@code{nil} @code{interactive-only} property. This causes the |
| 129 | byte compiler will print a warning message if the command is called | 129 | byte compiler to warn if the command is called from Lisp. |
| 130 | from Lisp. | ||
| 131 | 130 | ||
| 132 | @menu | 131 | @menu |
| 133 | * Using Interactive:: General rules for @code{interactive}. | 132 | * Using Interactive:: General rules for @code{interactive}. |