* cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
authorLeo Liu <sdl.web@gmail.com>
Tue, 20 May 2014 00:59:36 +0000 (08:59 +0800)
committerLeo Liu <sdl.web@gmail.com>
Tue, 20 May 2014 00:59:36 +0000 (08:59 +0800)
doc/misc/ChangeLog
doc/misc/cl.texi

index 4072227..79474a5 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-20  Leo Liu  <sdl.web@gmail.com>
+
+       * cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
+
 2014-05-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        * texinfo.tex: Update from gnulib.
index d6e0bb7..83e007d 100644 (file)
@@ -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