aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-09-11 12:31:56 +0000
committerGerd Moellmann2001-09-11 12:31:56 +0000
commit27ea0af23ca52a123a12a70d9327a33ce0e85bd1 (patch)
tree5351856316b3569e6ed3e81f9cc66ca022c6ef4a /src
parentd4881c6acbb41cfd507b533efdd2cdaaf5eac204 (diff)
downloademacs-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.c5
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. */
68Lisp_Object combine_after_change_buffer; 68Lisp_Object combine_after_change_buffer;
69
70Lisp_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 ()
2159This affects `before-change-functions' and `after-change-functions',\n\ 2162This affects `before-change-functions' and `after-change-functions',\n\
2160as well as hooks attached to text properties and overlays."); 2163as 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}