diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 10 |
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 | ||
| 5959 | Buffer changes made while executing the `before-change-functions' | 5959 | Buffer changes made while executing the `before-change-functions' |
| 5960 | don't call any before-change or after-change functions. | 5960 | don't call any before-change or after-change functions. |
| 5961 | That's because these variables are temporarily set to nil. | 5961 | That's because `inhibit-modification-hooks' is temporarily set non-nil. |
| 5962 | As a result, a hook function cannot straightforwardly alter the | ||
| 5963 | value of these variables. See the Emacs Lisp manual for a way of | ||
| 5964 | accomplishing an equivalent result by using other variables. | ||
| 5965 | 5962 | ||
| 5966 | If an unhandled error happens in running these functions, | 5963 | If an unhandled error happens in running these functions, |
| 5967 | the variable's value remains nil. That prevents the error | 5964 | the 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 | ||
| 5980 | Buffer changes made while executing the `after-change-functions' | 5977 | Buffer changes made while executing the `after-change-functions' |
| 5981 | don't call any before-change or after-change functions. | 5978 | don't call any before-change or after-change functions. |
| 5982 | That's because these variables are temporarily set to nil. | 5979 | That's because `inhibit-modification-hooks' is temporarily set non-nil. |
| 5983 | As a result, a hook function cannot straightforwardly alter the | ||
| 5984 | value of these variables. See the Emacs Lisp manual for a way of | ||
| 5985 | accomplishing an equivalent result by using other variables. | ||
| 5986 | 5980 | ||
| 5987 | If an unhandled error happens in running these functions, | 5981 | If an unhandled error happens in running these functions, |
| 5988 | the variable's value remains nil. That prevents the error | 5982 | the variable's value remains nil. That prevents the error |