From 70ff8240e489fc5ff8635a415b78b8881054dc23 Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Sat, 17 Aug 2013 06:32:24 +0800 Subject: [PATCH] Another doc fix for `buffer-undo-list'. --- doc/lispref/text.texi | 2 +- src/ChangeLog | 2 ++ src/buffer.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2