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
commitd1756ab96eed439186cca03acbac3766b5a7867f (patch)
tree9a058c650b79883f086eb3cfc74e654b6ffe9de0 /lispref/text.texi
parentdf3dd7d63da53c93649587fbb9f6c17b0d5c1d9c (diff)
downloademacs-d1756ab96eed439186cca03acbac3766b5a7867f.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