[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117138: * sequences.texi (Sequence Functions): Don'
From: |
Leo Liu |
Subject: |
[Emacs-diffs] trunk r117138: * sequences.texi (Sequence Functions): Don't mention when and how |
Date: |
Thu, 22 May 2014 04:33:34 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117138
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Thu 2014-05-22 12:30:48 +0800
message:
* sequences.texi (Sequence Functions): Don't mention when and how
SEQ to nreverse is mutated.
modified:
doc/lispref/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6155
doc/lispref/sequences.texi
sequences.texi-20091113204419-o5vbwnq5f7feedwu-6209
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2014-05-21 03:49:58 +0000
+++ b/doc/lispref/ChangeLog 2014-05-22 04:30:48 +0000
@@ -1,3 +1,8 @@
+2014-05-22 Leo Liu <address@hidden>
+
+ * sequences.texi (Sequence Functions): Don't mention when and how
+ SEQ to nreverse is mutated.
+
2014-05-21 Leo Liu <address@hidden>
* sequences.texi (Sequence Functions): Update nreverse.
=== modified file 'doc/lispref/sequences.texi'
--- a/doc/lispref/sequences.texi 2014-05-21 03:49:58 +0000
+++ b/doc/lispref/sequences.texi 2014-05-22 04:30:48 +0000
@@ -265,12 +265,7 @@
@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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117138: * sequences.texi (Sequence Functions): Don't mention when and how,
Leo Liu <=