From d1756ab96eed439186cca03acbac3766b5a7867f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 8 Jan 1995 19:20:03 +0000 Subject: [PATCH] Fix buffer-undo-list. --- lispref/text.texi | 10 +++++++--- 1 file 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 -- 2.39.5