1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00

* sequences.texi (Sequence Functions): Don't mention when and how

SEQ to nreverse is mutated.
This commit is contained in:
Leo Liu 2014-05-22 12:30:48 +08:00
parent ff965efb03
commit bbd03f131a
2 changed files with 6 additions and 6 deletions

View 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.

View 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: