diff options
| author | Gerd Moellmann | 2001-09-11 12:31:56 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-11 12:31:56 +0000 |
| commit | 27ea0af23ca52a123a12a70d9327a33ce0e85bd1 (patch) | |
| tree | 5351856316b3569e6ed3e81f9cc66ca022c6ef4a /src | |
| parent | d4881c6acbb41cfd507b533efdd2cdaaf5eac204 (diff) | |
| download | emacs-27ea0af23ca52a123a12a70d9327a33ce0e85bd1.tar.gz emacs-27ea0af23ca52a123a12a70d9327a33ce0e85bd1.zip | |
(Qinhibit_modification_hooks): New variable.
(syms_of_insdel): Initialize and staticpro it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c index 99576218b4b..134e8760ef0 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -66,6 +66,9 @@ Lisp_Object combine_after_change_list; | |||
| 66 | 66 | ||
| 67 | /* Buffer which combine_after_change_list is about. */ | 67 | /* Buffer which combine_after_change_list is about. */ |
| 68 | Lisp_Object combine_after_change_buffer; | 68 | Lisp_Object combine_after_change_buffer; |
| 69 | |||
| 70 | Lisp_Object Qinhibit_modification_hooks; | ||
| 71 | |||
| 69 | 72 | ||
| 70 | /* Check all markers in the current buffer, looking for something invalid. */ | 73 | /* Check all markers in the current buffer, looking for something invalid. */ |
| 71 | 74 | ||
| @@ -2159,6 +2162,8 @@ syms_of_insdel () | |||
| 2159 | This affects `before-change-functions' and `after-change-functions',\n\ | 2162 | This affects `before-change-functions' and `after-change-functions',\n\ |
| 2160 | as well as hooks attached to text properties and overlays."); | 2163 | as well as hooks attached to text properties and overlays."); |
| 2161 | inhibit_modification_hooks = 0; | 2164 | inhibit_modification_hooks = 0; |
| 2165 | Qinhibit_modification_hooks = intern ("inhibit-modification-hooks"); | ||
| 2166 | staticpro (&Qinhibit_modification_hooks); | ||
| 2162 | 2167 | ||
| 2163 | defsubr (&Scombine_after_change_execute); | 2168 | defsubr (&Scombine_after_change_execute); |
| 2164 | } | 2169 | } |