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}