aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-03-22 12:54:48 -0700
committerGlenn Morris2014-03-22 12:54:48 -0700
commiteb6f0d566374ccfac1a43028a7b2aa11d1ce655e (patch)
tree8330a6cbbb58e9181e541466a594651c19faedf4 /doc
parent1197f2e66501837c96d0a5cc627e2791878066f2 (diff)
downloademacs-eb6f0d566374ccfac1a43028a7b2aa11d1ce655e.tar.gz
emacs-eb6f0d566374ccfac1a43028a7b2aa11d1ce655e.zip
* lispref/commands.texi (Defining Commands): List interactive-only values.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/commands.texi6
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 @@
12014-03-22 Glenn Morris <rgm@gnu.org>
2
3 * commands.texi (Defining Commands): List interactive-only values.
4
12014-03-22 Eli Zaretskii <eliz@gnu.org> 52014-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,
127never directly from Lisp. In that case, give the function a 127never directly from Lisp. In that case, give the function a
128non-@code{nil} @code{interactive-only} property. This causes the 128non-@code{nil} @code{interactive-only} property. This causes the
129byte compiler to warn if the command is called from Lisp. 129byte compiler to warn if the command is called from Lisp. The value
130of the property can be: a string, which the byte-compiler will
131use directly in its warning (it should end with a period,
132and not start with a capital); @code{t}; any other symbol, which
133should 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}.