aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-04-29 14:56:58 +0800
committerChong Yidong2012-04-29 14:56:58 +0800
commit5a5fd9f33aee06409dfe2feaadaff6bc14f71f58 (patch)
treeaa3bb69c2689e99ec31ec235c952e468a4db201b
parentf9e320bb015b4328db43815fb2e1821e388d0845 (diff)
downloademacs-5a5fd9f33aee06409dfe2feaadaff6bc14f71f58.tar.gz
emacs-5a5fd9f33aee06409dfe2feaadaff6bc14f71f58.zip
* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/text.texi18
2 files changed, 13 insertions, 9 deletions
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 @@
12012-04-29 Chong Yidong <cyd@gnu.org>
2
3 * text.texi (Change Hooks): Minor fix for after-change-functions.
4
12012-04-28 Glenn Morris <rgm@gnu.org> 52012-04-28 Glenn Morris <rgm@gnu.org>
2 6
3 * package.texi (Packaging Basics): 7 * 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.
4334 4334
4335@defvar after-change-functions 4335@defvar after-change-functions
4336This variable holds a list of functions to call after any buffer 4336This variable holds a list of functions to call after any buffer
4337modification. Each function receives three arguments: the beginning and 4337modification. Each function receives three arguments: the beginning
4338end of the region just changed, and the length of the text that existed 4338and end of the region just changed, and the length of the text that
4339before the change. All three arguments are integers. The buffer that's 4339existed before the change. All three arguments are integers. The
4340about to change is always the current buffer. 4340buffer has been changed is always the current buffer.
4341 4341
4342The length of the old text is the difference between the buffer positions 4342The length of the old text is the difference between the buffer
4343before and after that text as it was before the change. As for the 4343positions before and after that text as it was before the change. As
4344changed text, its length is simply the difference between the first two 4344for the changed text, its length is simply the difference between the
4345arguments. 4345first two arguments.
4346@end defvar 4346@end defvar
4347 4347
4348 Output of messages into the @file{*Messages*} buffer does not 4348 Output of messages into the @file{*Messages*} buffer does not