summaryrefslogtreecommitdiff
path: root/lispref/internals.texi
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2003-10-06 16:40:10 +0000
committerDave Love <fx@gnu.org>2003-10-06 16:40:10 +0000
commit0a6928035fb4cc5bc8f20fc774463cd8a83dfbd4 (patch)
treeb7ce2c7446784450c61f4a9b83f1d7a61644678f /lispref/internals.texi
parentc51b37fde97bbe92d350e4f204cefa984a38704e (diff)
downloademacs-0a6928035fb4cc5bc8f20fc774463cd8a83dfbd4.tar.gz
usage: in doc strings. Correct side-effect function remark.
Diffstat (limited to 'lispref/internals.texi')
-rw-r--r--lispref/internals.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/lispref/internals.texi b/lispref/internals.texi
index 1810d0b9b9e..721e1a5a7d6 100644
--- a/lispref/internals.texi
+++ b/lispref/internals.texi
@@ -563,6 +563,8 @@ If the last line of the documentation string begins with the keyword
@samp{usage:}, the rest of the line is treated as the argument list
for documentation purposes. This way, you can use different argument
names in the documentation string from the ones used in the C code.
+@samp{usage:} is required if the function has an unlimited number of
+arguments.
All the usual rules for documentation strings in Lisp code
(@pxref{Documentation Tips}) apply to C code documentation strings
@@ -746,10 +748,10 @@ number of arguments. They work by calling @code{Ffuncall}.
@file{lisp.h} contains the definitions for some important macros and
functions.
- If you define a function which is side-effect free, update the code in
-@file{byte-opt.el} which binds @code{side-effect-free-fns} and
-@code{side-effect-and-error-free-fns} to include it. This will help the
-optimizer.
+ If you define a function which is side-effect free, update the code
+in @file{byte-opt.el} which binds @code{side-effect-free-fns} and
+@code{side-effect-and-error-free-fns} so that the compiler optimizer
+knows about it.
@node Object Internals
@appendixsec Object Internals