1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

; Fix indexing in lispref manual

* doc/lispref/functions.texi (Argument List): Remove the index
entry for 'wrong-number-of-arguments'.  (Bug#24222)
This commit is contained in:
Eli Zaretskii 2016-10-08 17:01:54 +03:00
parent ed399f26fa
commit d4be4f3f12

View File

@ -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}