Commit 5a5fd9f3 authored by Chong Yidong's avatar Chong Yidong
Browse files

* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.

parent f9e320bb
2012-04-29 Chong Yidong <cyd@gnu.org>
* text.texi (Change Hooks): Minor fix for after-change-functions.
2012-04-28 Glenn Morris <rgm@gnu.org>
* package.texi (Packaging Basics):
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment