aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2014-05-20 08:59:36 +0800
committerLeo Liu <[email protected]>2014-05-20 08:59:36 +0800
commitebd42073bad9c6e8b2201e19451017ac2b4f73a1 (patch)
tree976c210b44c13e1822f4b9c8e89b6e5451ca03ac /doc/misc
parent2f1205e0848f7f6ed4578a36c656106a9ba69a8e (diff)
* cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
Diffstat (limited to 'doc/misc')
-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 4072227953..79474a52f4 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-20 Leo Liu <[email protected]>
+
+ * cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
+
2014-05-13 Paul Eggert <[email protected]>
* texinfo.tex: Update from gnulib.
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index d6e0bb74bc..83e007d897 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})}.
@end defun
@defun cl-endp x
-Common Lisp defines this function to act like @code{null}, but
-signaling an error if @code{x} is neither a @code{nil} nor a
-cons cell. This package simply defines @code{cl-endp} as a synonym
-for @code{null}.
+This function acts like @code{null}, but signals an error if @code{x}
+is neither a @code{nil} nor a cons cell.
@end defun
@defun cl-list-length x
@@ -4449,12 +4447,11 @@ supposed to arise in complying programs; implementations are strongly
encouraged but not required to signal an error in these situations.
This package sometimes omits such error checking in the interest of
compactness and efficiency. For example, @code{cl-do} variable
-specifiers are supposed to be lists of one, two, or three forms;
-extra forms are ignored by this package rather than signaling a
-syntax error. The @code{cl-endp} function is simply a synonym for
-@code{null} in this package. Functions taking keyword arguments
-will accept an odd number of arguments, treating the trailing
-keyword as if it were followed by the value @code{nil}.
+specifiers are supposed to be lists of one, two, or three forms; extra
+forms are ignored by this package rather than signaling a syntax
+error. Functions taking keyword arguments will accept an odd number
+of arguments, treating the trailing keyword as if it were followed by
+the value @code{nil}.
Argument lists (as processed by @code{cl-defun} and friends)
@emph{are} checked rigorously except for the minor point just