From: Richard M. Stallman Date: Sun, 8 Jan 1995 19:20:03 +0000 (+0000) Subject: Fix buffer-undo-list. X-Git-Tag: emacs-19.34~5494 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1756ab96eed439186cca03acbac3766b5a7867f;p=emacs.git Fix buffer-undo-list. --- 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