diff options
| author | Eli Zaretskii | 2016-10-08 17:01:54 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-10-08 17:01:54 +0300 |
| commit | d4be4f3f122625cb0e599ad83714f6bec35db83d (patch) | |
| tree | 76a45b56b6de1d6ad4f104b4006c91136a9d6e52 | |
| parent | ed399f26fa78fa69171e32b34af9a77debf57fad (diff) | |
| download | emacs-d4be4f3f122625cb0e599ad83714f6bec35db83d.tar.gz emacs-d4be4f3f122625cb0e599ad83714f6bec35db83d.zip | |
; Fix indexing in lispref manual
* doc/lispref/functions.texi (Argument List): Remove the index
entry for 'wrong-number-of-arguments'. (Bug#24222)
| -rw-r--r-- | doc/lispref/functions.texi | 4 |
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 | |||
| 310 | 310 | ||
| 311 | @node Argument List | 311 | @node Argument List |
| 312 | @subsection Other Features of Argument Lists | 312 | @subsection Other Features of Argument Lists |
| 313 | @kindex wrong-number-of-arguments | ||
| 314 | @cindex argument binding | 313 | @cindex argument binding |
| 315 | @cindex binding arguments | 314 | @cindex binding arguments |
| 316 | @cindex argument lists, features | 315 | @cindex argument lists, features |
| @@ -318,7 +317,8 @@ stored as symbol function definitions to produce named functions | |||
| 318 | Our simple sample function, @code{(lambda (a b c) (+ a b c))}, | 317 | Our simple sample function, @code{(lambda (a b c) (+ a b c))}, |
| 319 | specifies three argument variables, so it must be called with three | 318 | specifies three argument variables, so it must be called with three |
| 320 | arguments: if you try to call it with only two arguments or four | 319 | arguments: if you try to call it with only two arguments or four |
| 321 | arguments, you get a @code{wrong-number-of-arguments} error. | 320 | arguments, you get a @code{wrong-number-of-arguments} error |
| 321 | (@pxref{Errors}). | ||
| 322 | 322 | ||
| 323 | It is often convenient to write a function that allows certain | 323 | It is often convenient to write a function that allows certain |
| 324 | arguments to be omitted. For example, the function @code{substring} | 324 | arguments to be omitted. For example, the function @code{substring} |