Mercurial > emacs
diff src/buffer.c @ 110838:63399fcc7ef2
Doc fix.
* src/buffer.c (before-change-functions, after-change-functions):
Three-year overdue doc fix following 2007-08-13 change.
| author | Glenn Morris <rgm@gnu.org> |
|---|---|
| date | Sat, 02 Oct 2010 18:23:50 -0700 |
| parents | fc5ebbbba4f3 |
| children | bec49af30c2f 376148b31b5e |
line wrap: on
line diff
--- a/src/buffer.c Sat Oct 02 18:18:35 2010 -0700 +++ b/src/buffer.c Sat Oct 02 18:23:50 2010 -0700 @@ -6096,10 +6096,7 @@ Buffer changes made while executing the `before-change-functions' don't call any before-change or after-change functions. -That's because these variables are temporarily set to nil. -As a result, a hook function cannot straightforwardly alter the -value of these variables. See the Emacs Lisp manual for a way of -accomplishing an equivalent result by using other variables. +That's because `inhibit-modification-hooks' is temporarily set non-nil. If an unhandled error happens in running these functions, the variable's value remains nil. That prevents the error @@ -6117,10 +6114,7 @@ Buffer changes made while executing the `after-change-functions' don't call any before-change or after-change functions. -That's because these variables are temporarily set to nil. -As a result, a hook function cannot straightforwardly alter the -value of these variables. See the Emacs Lisp manual for a way of -accomplishing an equivalent result by using other variables. +That's because `inhibit-modification-hooks' is temporarily set non-nil. If an unhandled error happens in running these functions, the variable's value remains nil. That prevents the error
