aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2014-05-20 08:59:36 +0800
committerLeo Liu2014-05-20 08:59:36 +0800
commitebd42073bad9c6e8b2201e19451017ac2b4f73a1 (patch)
tree976c210b44c13e1822f4b9c8e89b6e5451ca03ac
parent2f1205e0848f7f6ed4578a36c656106a9ba69a8e (diff)
downloademacs-ebd42073bad9c6e8b2201e19451017ac2b4f73a1.tar.gz
emacs-ebd42073bad9c6e8b2201e19451017ac2b4f73a1.zip
* cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/cl.texi17
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 @@
12014-05-20 Leo Liu <sdl.web@gmail.com>
2
3 * cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
4
12014-05-13 Paul Eggert <eggert@cs.ucla.edu> 52014-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
3682Common Lisp defines this function to act like @code{null}, but 3682This function acts like @code{null}, but signals an error if @code{x}
3683signaling an error if @code{x} is neither a @code{nil} nor a 3683is neither a @code{nil} nor a cons cell.
3684cons cell. This package simply defines @code{cl-endp} as a synonym
3685for @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
4449encouraged but not required to signal an error in these situations. 4447encouraged but not required to signal an error in these situations.
4450This package sometimes omits such error checking in the interest of 4448This package sometimes omits such error checking in the interest of
4451compactness and efficiency. For example, @code{cl-do} variable 4449compactness and efficiency. For example, @code{cl-do} variable
4452specifiers are supposed to be lists of one, two, or three forms; 4450specifiers are supposed to be lists of one, two, or three forms; extra
4453extra forms are ignored by this package rather than signaling a 4451forms are ignored by this package rather than signaling a syntax
4454syntax error. The @code{cl-endp} function is simply a synonym for 4452error. Functions taking keyword arguments will accept an odd number
4455@code{null} in this package. Functions taking keyword arguments 4453of arguments, treating the trailing keyword as if it were followed by
4456will accept an odd number of arguments, treating the trailing 4454the value @code{nil}.
4457keyword as if it were followed by the value @code{nil}.
4458 4455
4459Argument lists (as processed by @code{cl-defun} and friends) 4456Argument 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