]> git.eshelyaron.com Git - emacs.git/commitdiff
* sequences.texi (Sequence Functions): Don't mention when and how
authorLeo Liu <sdl.web@gmail.com>
Thu, 22 May 2014 04:30:48 +0000 (12:30 +0800)
committerLeo Liu <sdl.web@gmail.com>
Thu, 22 May 2014 04:30:48 +0000 (12:30 +0800)
SEQ to nreverse is mutated.

doc/lispref/ChangeLog
doc/lispref/sequences.texi

index 7d13d06b5808ccdbc50c7096616f053e93375fc3..334b5d8d91caf75962efaff97d884c2bf290e371 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-22  Leo Liu  <sdl.web@gmail.com>
+
+       * sequences.texi (Sequence Functions): Don't mention when and how
+       SEQ to nreverse is mutated.
+
 2014-05-21  Leo Liu  <sdl.web@gmail.com>
 
        * sequences.texi (Sequence Functions): Update nreverse.
index 9b3df17ceb3e37390ce018ee67cc0813e91016a5..cafdb7fc53d84995f32b78c04fcda6ab4aa0119d 100644 (file)
@@ -265,12 +265,7 @@ x
 @cindex reversing a list
 @cindex reversing a vector
   This function reverses the order of the elements of @var{seq}.
-If @var{seq} is a list, @code{nreverse} alters it by reversing the @sc{cdr}s
-in the cons cells.  The cons cell that used to be the last one in @var{seq}
-becomes the first cons cell of the value.  If @var{seq} is a vector or
-bool vector, its items are placed in the same vector in a reversed
-order.  If @var{seq} is a string, it works like @code{reverse} i.e., no
-destructive modifcation in preference to treat strings as immutable.
+Unlike @code{reverse} the original @var{seq} may be modified.
 
   For example: