From: Xue Fuqiao Date: Fri, 16 Aug 2013 22:32:24 +0000 (+0800) Subject: Another doc fix for `buffer-undo-list'. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~194 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70ff8240e489fc5ff8635a415b78b8881054dc23;p=emacs.git Another doc fix for `buffer-undo-list'. --- diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 4e56c53107c..f5607f6fe91 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -1289,7 +1289,7 @@ This is an extensible undo item, which is undone by calling @item (apply @var{delta} @var{beg} @var{end} @var{funname} . @var{args}) This is an extensible undo item, which records a change limited to the range @var{beg} to @var{end}, which increased the size of the buffer -by @var{delta} bytes. It is undone by calling @var{funname} with +by @var{delta} characters. It is undone by calling @var{funname} with arguments @var{args}. This kind of element enables undo limited to a region to determine diff --git a/src/ChangeLog b/src/ChangeLog index 035a4169399..013e181c406 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -8,6 +8,8 @@ 2013-08-16 Xue Fuqiao + * buffer.c (syms_of_buffer) : Doc fix. + * editfns.c (insert_before_markers): Mention overlay in the doc string. * marker.c (set_marker): Remove documentation of undefined behavior. diff --git a/src/buffer.c b/src/buffer.c index 5244b7043dc..58530248abc 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -6106,7 +6106,7 @@ An entry (apply FUN-NAME . ARGS) means undo the change with An entry (apply DELTA BEG END FUN-NAME . ARGS) supports selective undo in the active region. BEG and END is the range affected by this entry -and DELTA is the number of bytes added or deleted in that range by +and DELTA is the number of characters added or deleted in that range by this change. An entry (MARKER . DISTANCE) indicates that the marker MARKER