From: Leo Liu Date: Thu, 22 May 2014 04:30:48 +0000 (+0800) Subject: * sequences.texi (Sequence Functions): Don't mention when and how X-Git-Tag: emacs-25.0.90~2612^2~709^2~901 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bbd03f131a88ab1ff993bb6bba1bea93e7ee17ea;p=emacs.git * sequences.texi (Sequence Functions): Don't mention when and how SEQ to nreverse is mutated. --- 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 + + * sequences.texi (Sequence Functions): Don't mention when and how + SEQ to nreverse is mutated. + 2014-05-21 Leo Liu * 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: