diff options
| author | Leo Liu | 2014-05-20 08:59:36 +0800 |
|---|---|---|
| committer | Leo Liu | 2014-05-20 08:59:36 +0800 |
| commit | ebd42073bad9c6e8b2201e19451017ac2b4f73a1 (patch) | |
| tree | 976c210b44c13e1822f4b9c8e89b6e5451ca03ac | |
| parent | 2f1205e0848f7f6ed4578a36c656106a9ba69a8e (diff) | |
| download | emacs-ebd42073bad9c6e8b2201e19451017ac2b4f73a1.tar.gz emacs-ebd42073bad9c6e8b2201e19451017ac2b4f73a1.zip | |
* cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 17 |
2 files changed, 11 insertions, 10 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 4072227953f..79474a52f40 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-05-20 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * cl.texi (List Functions, Efficiency Concerns): Update cl-endp. | ||
| 4 | |||
| 1 | 2014-05-13 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-05-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * texinfo.tex: Update from gnulib. | 7 | * texinfo.tex: Update from gnulib. |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index d6e0bb74bcb..83e007d8975 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -3679,10 +3679,8 @@ This function is a synonym for @code{(cdr @var{x})}. | |||
| 3679 | @end defun | 3679 | @end defun |
| 3680 | 3680 | ||
| 3681 | @defun cl-endp x | 3681 | @defun cl-endp x |
| 3682 | Common Lisp defines this function to act like @code{null}, but | 3682 | This function acts like @code{null}, but signals an error if @code{x} |
| 3683 | signaling an error if @code{x} is neither a @code{nil} nor a | 3683 | is neither a @code{nil} nor a cons cell. |
| 3684 | cons cell. This package simply defines @code{cl-endp} as a synonym | ||
| 3685 | for @code{null}. | ||
| 3686 | @end defun | 3684 | @end defun |
| 3687 | 3685 | ||
| 3688 | @defun cl-list-length x | 3686 | @defun cl-list-length x |
| @@ -4449,12 +4447,11 @@ supposed to arise in complying programs; implementations are strongly | |||
| 4449 | encouraged but not required to signal an error in these situations. | 4447 | encouraged but not required to signal an error in these situations. |
| 4450 | This package sometimes omits such error checking in the interest of | 4448 | This package sometimes omits such error checking in the interest of |
| 4451 | compactness and efficiency. For example, @code{cl-do} variable | 4449 | compactness and efficiency. For example, @code{cl-do} variable |
| 4452 | specifiers are supposed to be lists of one, two, or three forms; | 4450 | specifiers are supposed to be lists of one, two, or three forms; extra |
| 4453 | extra forms are ignored by this package rather than signaling a | 4451 | forms are ignored by this package rather than signaling a syntax |
| 4454 | syntax error. The @code{cl-endp} function is simply a synonym for | 4452 | error. Functions taking keyword arguments will accept an odd number |
| 4455 | @code{null} in this package. Functions taking keyword arguments | 4453 | of arguments, treating the trailing keyword as if it were followed by |
| 4456 | will accept an odd number of arguments, treating the trailing | 4454 | the value @code{nil}. |
| 4457 | keyword as if it were followed by the value @code{nil}. | ||
| 4458 | 4455 | ||
| 4459 | Argument lists (as processed by @code{cl-defun} and friends) | 4456 | Argument lists (as processed by @code{cl-defun} and friends) |
| 4460 | @emph{are} checked rigorously except for the minor point just | 4457 | @emph{are} checked rigorously except for the minor point just |