summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2014-05-22 12:30:48 +0800
committerLeo Liu <sdl.web@gmail.com>2014-05-22 12:30:48 +0800
commitbbd03f131a88ab1ff993bb6bba1bea93e7ee17ea (patch)
tree4a124cf74b9cfecacd28d063bbea06e17e55a05f /doc
parentff965efb03f29b5003c8ace7cfe4510f643b8706 (diff)
downloademacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.tar.gz
* sequences.texi (Sequence Functions): Don't mention when and how
SEQ to nreverse is mutated.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/sequences.texi7
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 7d13d06b580..334b5d8d91c 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -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.
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 9b3df17ceb3..cafdb7fc53d 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -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: