aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-03-21 00:06:55 -0700
committerGlenn Morris2014-03-21 00:06:55 -0700
commit9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529 (patch)
tree7b13f4e26f60c70573459ea17c0d9dc18a544585 /doc
parentf167458b5ec8e09baed154d12efa5b70cf1ad9d4 (diff)
downloademacs-9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529.tar.gz
emacs-9ee59bca7ae0ca23a1c7ee3653601b6d8c52b529.zip
* lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/commands.texi9
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 @@
12014-03-21 Glenn Morris <rgm@gnu.org>
2
3 * commands.texi (Defining Commands): Copyedit re `interactive-only'.
4
12014-03-20 Paul Eggert <eggert@cs.ucla.edu> 52014-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}
123form in the function body itself. This feature is seldom used. 123form 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,
127interactively, never directly from Lisp. In that case, give it a 127never directly from Lisp. In that case, give the function a
128non-@code{nil} @code{interactive-only} property. In that case, the 128non-@code{nil} @code{interactive-only} property. This causes the
129byte compiler will print a warning message if the command is called 129byte compiler to warn if the command is called from Lisp.
130from Lisp.
131 130
132@menu 131@menu
133* Using Interactive:: General rules for @code{interactive}. 132* Using Interactive:: General rules for @code{interactive}.