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:
parent
ff965efb03
commit
bbd03f131a
2 changed files with 6 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue