# HG changeset patch # User Glenn Morris # Date 1286069030 25200 # Node ID 63399fcc7ef2381f5809cd700c56d3c18452da16 # Parent d35b3cc77cf31f1b57b764b50c213be587aeb7ce Doc fix. * src/buffer.c (before-change-functions, after-change-functions): Three-year overdue doc fix following 2007-08-13 change. diff -r d35b3cc77cf3 -r 63399fcc7ef2 src/ChangeLog --- a/src/ChangeLog Sat Oct 02 18:18:35 2010 -0700 +++ b/src/ChangeLog Sat Oct 02 18:23:50 2010 -0700 @@ -1,3 +1,8 @@ +2010-10-03 Glenn Morris + + * buffer.c (before-change-functions, after-change-functions): + Three-year overdue doc fix following 2007-08-13 change. + 2010-10-02 Kenichi Handa * coding.c (coding_inherit_eol_type): If parent doesn't specify diff -r d35b3cc77cf3 -r 63399fcc7ef2 src/buffer.c --- 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