summaryrefslogtreecommitdiff
path: root/lispref/text.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-08 19:20:03 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-08 19:20:03 +0000
commit016edf67e09e46460d7d14aa66edb6360e045c70 (patch)
tree3eac27b09489c9ac5a10984a8d380888666326df /lispref/text.texi
parent2ee0880b45388d548437cf25b173100439bad87a (diff)
downloademacs-016edf67e09e46460d7d14aa66edb6360e045c70.tar.gz
Fix buffer-undo-list.
Diffstat (limited to 'lispref/text.texi')
-rw-r--r--lispref/text.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/lispref/text.texi b/lispref/text.texi
index d4cec050a95..d625e5e2156 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -928,10 +928,10 @@ This kind of element indicates how to delete text that was inserted.
Upon insertion, the text occupied the range @var{beg}--@var{end} in the
buffer.
-@item (@var{pos} . @var{deleted})
+@item (@var{text} . @var{position})
This kind of element indicates how to reinsert text that was deleted.
-The deleted text itself is the string @var{deleted}. The place to
-reinsert it is @var{pos}.
+The deleted text itself is the string @var{text}. The place to
+reinsert it is @code{(abs @var{position})}.
@item (t @var{high} . @var{low})
This kind of element indicates that an unmodified buffer became
@@ -949,6 +949,10 @@ Here's how you might undo the change:
(put-text-property @var{beg} @var{end} @var{property} @var{value})
@end example
+@item @var{position}
+This element indicates where point was at an earlier time.
+Undoing this element sets point to @var{position}.
+
@item nil
This element is a boundary. The elements between two boundaries are
called a @dfn{change group}; normally, each change group corresponds to