From: Chong Yidong Date: Sun, 29 Apr 2012 06:56:58 +0000 (+0800) Subject: * doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions. X-Git-Tag: emacs-24.0.97~82 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a5fd9f33aee06409dfe2feaadaff6bc14f71f58;p=emacs.git * doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 8588ae88ef8..79177a3f59d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2012-04-29 Chong Yidong + + * text.texi (Change Hooks): Minor fix for after-change-functions. + 2012-04-28 Glenn Morris * package.texi (Packaging Basics): diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 4ed096d21a4..bc65e314da0 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -4334,15 +4334,15 @@ buffer that is about to change is always the current buffer. @defvar after-change-functions This variable holds a list of functions to call after any buffer -modification. Each function receives three arguments: the beginning and -end of the region just changed, and the length of the text that existed -before the change. All three arguments are integers. The buffer that's -about to change is always the current buffer. - -The length of the old text is the difference between the buffer positions -before and after that text as it was before the change. As for the -changed text, its length is simply the difference between the first two -arguments. +modification. Each function receives three arguments: the beginning +and end of the region just changed, and the length of the text that +existed before the change. All three arguments are integers. The +buffer has been changed is always the current buffer. + +The length of the old text is the difference between the buffer +positions before and after that text as it was before the change. As +for the changed text, its length is simply the difference between the +first two arguments. @end defvar Output of messages into the @file{*Messages*} buffer does not