summaryrefslogtreecommitdiff
path: root/doc/lispref/functions.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-10-08 17:01:54 +0300
committerEli Zaretskii <eliz@gnu.org>2016-10-08 17:01:54 +0300
commitd4be4f3f122625cb0e599ad83714f6bec35db83d (patch)
tree76a45b56b6de1d6ad4f104b4006c91136a9d6e52 /doc/lispref/functions.texi
parented399f26fa78fa69171e32b34af9a77debf57fad (diff)
downloademacs-d4be4f3f122625cb0e599ad83714f6bec35db83d.tar.gz
; Fix indexing in lispref manual
* doc/lispref/functions.texi (Argument List): Remove the index entry for 'wrong-number-of-arguments'. (Bug#24222)
Diffstat (limited to 'doc/lispref/functions.texi')
-rw-r--r--doc/lispref/functions.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index a2e94c34b62..db272fb761c 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -310,7 +310,6 @@ stored as symbol function definitions to produce named functions
@node Argument List
@subsection Other Features of Argument Lists
-@kindex wrong-number-of-arguments
@cindex argument binding
@cindex binding arguments
@cindex argument lists, features
@@ -318,7 +317,8 @@ stored as symbol function definitions to produce named functions
Our simple sample function, @code{(lambda (a b c) (+ a b c))},
specifies three argument variables, so it must be called with three
arguments: if you try to call it with only two arguments or four
-arguments, you get a @code{wrong-number-of-arguments} error.
+arguments, you get a @code{wrong-number-of-arguments} error
+(@pxref{Errors}).
It is often convenient to write a function that allows certain
arguments to be omitted. For example, the function @code{substring}