diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2019-09-19 17:10:00 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2019-09-19 17:10:00 +0300 |
| commit | 2b80340bf3585f976d88da94ee9d40eb03230c6b (patch) | |
| tree | 84ec6b3c9f4751ce5ee76366582577dbc9b38646 /src/buffer.h | |
| parent | 7156b0efc714eaaab5bcf42138752f698e57b5ad (diff) | |
| download | emacs-2b80340bf3585f976d88da94ee9d40eb03230c6b.tar.gz | |
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; that don't have such names. */ extern struct buffer buffer_local_symbols; + +/* verify_interval_modification saves insertion hooks here + to be run later by report_interval_modification. */ +extern Lisp_Object interval_insert_behind_hooks; +extern Lisp_Object interval_insert_in_front_hooks; + extern void delete_all_overlays (struct buffer *); extern void reset_buffer (struct buffer *); |
