aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2014-05-22 12:30:48 +0800
committerLeo Liu2014-05-22 12:30:48 +0800
commitbbd03f131a88ab1ff993bb6bba1bea93e7ee17ea (patch)
tree4a124cf74b9cfecacd28d063bbea06e17e55a05f
parentff965efb03f29b5003c8ace7cfe4510f643b8706 (diff)
downloademacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.tar.gz
emacs-bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea.zip
* sequences.texi (Sequence Functions): Don't mention when and how
SEQ to nreverse is mutated.
-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 @@
12014-05-22 Leo Liu <sdl.web@gmail.com>
2
3 * sequences.texi (Sequence Functions): Don't mention when and how
4 SEQ to nreverse is mutated.
5
12014-05-21 Leo Liu <sdl.web@gmail.com> 62014-05-21 Leo Liu <sdl.web@gmail.com>
2 7
3 * sequences.texi (Sequence Functions): Update nreverse. 8 * 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
265@cindex reversing a list 265@cindex reversing a list
266@cindex reversing a vector 266@cindex reversing a vector
267 This function reverses the order of the elements of @var{seq}. 267 This function reverses the order of the elements of @var{seq}.
268If @var{seq} is a list, @code{nreverse} alters it by reversing the @sc{cdr}s 268Unlike @code{reverse} the original @var{seq} may be modified.
269in the cons cells. The cons cell that used to be the last one in @var{seq}
270becomes the first cons cell of the value. If @var{seq} is a vector or
271bool vector, its items are placed in the same vector in a reversed
272order. If @var{seq} is a string, it works like @code{reverse} i.e., no
273destructive modifcation in preference to treat strings as immutable.
274 269
275 For example: 270 For example:
276 271