diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 13 |
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index becce3eea60..870d2dd5d37 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2014-03-22 Glenn Morris <rgm@gnu.org> | 1 | 2014-03-22 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * commands.texi (Defining Commands): | ||
| 4 | Mention that interactive-only also affects describe-function. | ||
| 5 | |||
| 3 | * functions.texi (Declare Form): Add interactive-only. | 6 | * functions.texi (Declare Form): Add interactive-only. |
| 4 | * commands.texi (Defining Commands) Mention declare. | 7 | * commands.texi (Defining Commands) Mention declare. |
| 5 | 8 | ||
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 2b1423101a7..721a485382e 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -128,12 +128,13 @@ form in the function body itself. This feature is seldom used. | |||
| 128 | never directly from Lisp. In that case, give the function a | 128 | never directly from Lisp. In that case, give the function a |
| 129 | non-@code{nil} @code{interactive-only} property, either directly | 129 | non-@code{nil} @code{interactive-only} property, either directly |
| 130 | or via @code{declare} (@pxref{Declare Form}). This causes the | 130 | or via @code{declare} (@pxref{Declare Form}). This causes the |
| 131 | byte compiler to warn if the command is called from Lisp. The value | 131 | byte compiler to warn if the command is called from Lisp. The output |
| 132 | of the property can be: a string, which the byte-compiler will | 132 | of @code{describe-function} will include similar information. |
| 133 | use directly in its warning (it should end with a period, | 133 | The value of the property can be: a string, which the byte-compiler |
| 134 | and not start with a capital, e.g. ``use @dots{} instead.''); @code{t}; | 134 | will use directly in its warning (it should end with a period, and not |
| 135 | any other symbol, which should be an alternative function to use in | 135 | start with a capital, e.g. ``use @dots{} instead.''); @code{t}; any |
| 136 | Lisp code. | 136 | other symbol, which should be an alternative function to use in Lisp |
| 137 | code. | ||
| 137 | 138 | ||
| 138 | @menu | 139 | @menu |
| 139 | * Using Interactive:: General rules for @code{interactive}. | 140 | * Using Interactive:: General rules for @code{interactive}. |