diff options
Diffstat (limited to 'doc/lispref/functions.texi')
| -rw-r--r-- | doc/lispref/functions.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index bc8ec0ef1b0..2898cb4d2b4 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -267,7 +267,8 @@ reason functions are defined to start with @code{lambda} is so that | |||
| 267 | other lists, intended for other uses, will not accidentally be valid as | 267 | other lists, intended for other uses, will not accidentally be valid as |
| 268 | functions. | 268 | functions. |
| 269 | 269 | ||
| 270 | The second element is a list of symbols---the argument variable names. | 270 | The second element is a list of symbols---the argument variable |
| 271 | names (@pxref{Argument List}). | ||
| 271 | This is called the @dfn{lambda list}. When a Lisp function is called, | 272 | This is called the @dfn{lambda list}. When a Lisp function is called, |
| 272 | the argument values are matched up against the variables in the lambda | 273 | the argument values are matched up against the variables in the lambda |
| 273 | list, which are given local bindings with the values provided. | 274 | list, which are given local bindings with the values provided. |
| @@ -342,7 +343,7 @@ stored as symbol function definitions to produce named functions | |||
| 342 | (@pxref{Function Names}). | 343 | (@pxref{Function Names}). |
| 343 | 344 | ||
| 344 | @node Argument List | 345 | @node Argument List |
| 345 | @subsection Other Features of Argument Lists | 346 | @subsection Features of Argument Lists |
| 346 | @kindex wrong-number-of-arguments | 347 | @kindex wrong-number-of-arguments |
| 347 | @cindex argument binding | 348 | @cindex argument binding |
| 348 | @cindex binding arguments | 349 | @cindex binding arguments |
| @@ -583,8 +584,8 @@ a function. | |||
| 583 | @defmac defun name args [doc] [declare] [interactive] body@dots{} | 584 | @defmac defun name args [doc] [declare] [interactive] body@dots{} |
| 584 | @code{defun} is the usual way to define new Lisp functions. It | 585 | @code{defun} is the usual way to define new Lisp functions. It |
| 585 | defines the symbol @var{name} as a function with argument list | 586 | defines the symbol @var{name} as a function with argument list |
| 586 | @var{args} and body forms given by @var{body}. Neither @var{name} nor | 587 | @var{args} (@pxref{Argument List}) and body forms given by @var{body}. |
| 587 | @var{args} should be quoted. | 588 | Neither @var{name} nor @var{args} should be quoted. |
| 588 | 589 | ||
| 589 | @var{doc}, if present, should be a string specifying the function's | 590 | @var{doc}, if present, should be a string specifying the function's |
| 590 | documentation string (@pxref{Function Documentation}). @var{declare}, | 591 | documentation string (@pxref{Function Documentation}). @var{declare}, |