changeset 39244:796039437953

(Qinhibit_modification_hooks): New variable. (syms_of_insdel): Initialize and staticpro it.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 11 Sep 2001 12:31:56 +0000
parents c7eaef59d498
children 76c1a0ab4517
files src/insdel.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Tue Sep 11 12:25:06 2001 +0000
+++ b/src/insdel.c	Tue Sep 11 12:31:56 2001 +0000
@@ -66,6 +66,9 @@
 
 /* Buffer which combine_after_change_list is about.  */
 Lisp_Object combine_after_change_buffer;
+
+Lisp_Object Qinhibit_modification_hooks;
+
 
 /* Check all markers in the current buffer, looking for something invalid.  */
 
@@ -2159,6 +2162,8 @@
 This affects `before-change-functions' and `after-change-functions',\n\
 as well as hooks attached to text properties and overlays.");
   inhibit_modification_hooks = 0;
+  Qinhibit_modification_hooks = intern ("inhibit-modification-hooks");
+  staticpro (&Qinhibit_modification_hooks);
 
   defsubr (&Scombine_after_change_execute);
 }