summaryrefslogtreecommitdiff
path: root/doc/lispref/sequences.texi
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/lispref/sequences.texi
parentff965efb03f29b5003c8ace7cfe4510f643b8706 (diff)
downloademacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.tar.gz
emacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.tar.bz2
emacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.zip
* sequences.texi (Sequence Functions): Don't mention when and how
SEQ to nreverse is mutated.
Diffstat (limited to 'doc/lispref/sequences.texi')
-rw-r--r--doc/lispref/sequences.texi7
1 files changed, 1 insertions, 6 deletions
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: