diff options
| author | Eli Zaretskii | 2019-09-19 17:10:00 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-09-19 17:10:00 +0300 |
| commit | 2b80340bf3585f976d88da94ee9d40eb03230c6b (patch) | |
| tree | 84ec6b3c9f4751ce5ee76366582577dbc9b38646 /src/buffer.h | |
| parent | 7156b0efc714eaaab5bcf42138752f698e57b5ad (diff) | |
| download | emacs-2b80340bf3585f976d88da94ee9d40eb03230c6b.tar.gz emacs-2b80340bf3585f976d88da94ee9d40eb03230c6b.zip | |
Fix calls to insert-*-hooks when JIT font lock is active
* src/insdel.c (signal_after_change): Save and restore
interval_insert_behind_hooks and
interval_insert_in_front_hooks across calls to various other
hooks, to prevent their clobbering by those other hooks.
(Bug#37455)
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 82d9350bfc2..280d4e9098e 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -1139,6 +1139,12 @@ extern struct buffer buffer_local_flags; | |||
| 1139 | that don't have such names. */ | 1139 | that don't have such names. */ |
| 1140 | 1140 | ||
| 1141 | extern struct buffer buffer_local_symbols; | 1141 | extern struct buffer buffer_local_symbols; |
| 1142 | |||
| 1143 | /* verify_interval_modification saves insertion hooks here | ||
| 1144 | to be run later by report_interval_modification. */ | ||
| 1145 | extern Lisp_Object interval_insert_behind_hooks; | ||
| 1146 | extern Lisp_Object interval_insert_in_front_hooks; | ||
| 1147 | |||
| 1142 | 1148 | ||
| 1143 | extern void delete_all_overlays (struct buffer *); | 1149 | extern void delete_all_overlays (struct buffer *); |
| 1144 | extern void reset_buffer (struct buffer *); | 1150 | extern void reset_buffer (struct buffer *); |