diff options
| author | Glenn Morris | 2014-03-22 12:54:48 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-03-22 12:54:48 -0700 |
| commit | eb6f0d566374ccfac1a43028a7b2aa11d1ce655e (patch) | |
| tree | 8330a6cbbb58e9181e541466a594651c19faedf4 /doc | |
| parent | 1197f2e66501837c96d0a5cc627e2791878066f2 (diff) | |
| download | emacs-eb6f0d566374ccfac1a43028a7b2aa11d1ce655e.tar.gz emacs-eb6f0d566374ccfac1a43028a7b2aa11d1ce655e.zip | |
* lispref/commands.texi (Defining Commands): List interactive-only values.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index d911a812d30..1e57d4f0db2 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-03-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * commands.texi (Defining Commands): List interactive-only values. | ||
| 4 | |||
| 1 | 2014-03-22 Eli Zaretskii <eliz@gnu.org> | 5 | 2014-03-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * functions.texi (Core Advising Primitives): Fix cross-reference | 7 | * functions.texi (Core Advising Primitives): Fix cross-reference |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 198926a9a6a..998f76cc3d0 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -126,7 +126,11 @@ form in the function body itself. This feature is seldom used. | |||
| 126 | Sometimes, a function is only intended to be called interactively, | 126 | Sometimes, a function is only intended to be called interactively, |
| 127 | never directly from Lisp. In that case, give the function a | 127 | never directly from Lisp. In that case, give the function a |
| 128 | non-@code{nil} @code{interactive-only} property. This causes the | 128 | non-@code{nil} @code{interactive-only} property. This causes the |
| 129 | byte compiler to warn if the command is called from Lisp. | 129 | byte compiler to warn if the command is called from Lisp. The value |
| 130 | of the property can be: a string, which the byte-compiler will | ||
| 131 | use directly in its warning (it should end with a period, | ||
| 132 | and not start with a capital); @code{t}; any other symbol, which | ||
| 133 | should be an alternative function to use in Lisp code. | ||
| 130 | 134 | ||
| 131 | @menu | 135 | @menu |
| 132 | * Using Interactive:: General rules for @code{interactive}. | 136 | * Using Interactive:: General rules for @code{interactive}. |