From d4be4f3f122625cb0e599ad83714f6bec35db83d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 8 Oct 2016 17:01:54 +0300 Subject: [PATCH] ; Fix indexing in lispref manual * doc/lispref/functions.texi (Argument List): Remove the index entry for 'wrong-number-of-arguments'. (Bug#24222) --- doc/lispref/functions.texi | 4 ++-- 1 file 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} -- 2.39.2