From 7b2bf907f15edfed9480e7c4087cc54b603e426c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 2 Oct 2010 18:23:50 -0700 Subject: Doc fix. * src/buffer.c (before-change-functions, after-change-functions): Three-year overdue doc fix following 2007-08-13 change. --- src/buffer.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index adb85b83e5f..939e2bb0e19 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -6096,10 +6096,7 @@ No information is given about the length of the text after the change. 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 @@ and the post-change beginning and end are at the same place.) 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 -- cgit v1.2.1