aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 6b6b6efc633..3eb96beeb0f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5958,10 +5958,7 @@ No information is given about the length of the text after the change.
5958 5958
5959Buffer changes made while executing the `before-change-functions' 5959Buffer changes made while executing the `before-change-functions'
5960don't call any before-change or after-change functions. 5960don't call any before-change or after-change functions.
5961That's because these variables are temporarily set to nil. 5961That's because `inhibit-modification-hooks' is temporarily set non-nil.
5962As a result, a hook function cannot straightforwardly alter the
5963value of these variables. See the Emacs Lisp manual for a way of
5964accomplishing an equivalent result by using other variables.
5965 5962
5966If an unhandled error happens in running these functions, 5963If an unhandled error happens in running these functions,
5967the variable's value remains nil. That prevents the error 5964the variable's value remains nil. That prevents the error
@@ -5979,10 +5976,7 @@ and the post-change beginning and end are at the same place.)
5979 5976
5980Buffer changes made while executing the `after-change-functions' 5977Buffer changes made while executing the `after-change-functions'
5981don't call any before-change or after-change functions. 5978don't call any before-change or after-change functions.
5982That's because these variables are temporarily set to nil. 5979That's because `inhibit-modification-hooks' is temporarily set non-nil.
5983As a result, a hook function cannot straightforwardly alter the
5984value of these variables. See the Emacs Lisp manual for a way of
5985accomplishing an equivalent result by using other variables.
5986 5980
5987If an unhandled error happens in running these functions, 5981If an unhandled error happens in running these functions,
5988the variable's value remains nil. That prevents the error 5982the variable's value remains nil. That prevents the error