aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1999-09-07 03:25:35 +0000
committerRichard M. Stallman1999-09-07 03:25:35 +0000
commit7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41 (patch)
treedcfb5c072cd877a9318c03ffab82df34a460eeb7
parentc4ea52a64fc91467e6952d6dc32962b7ca7f940b (diff)
downloademacs-7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41.tar.gz
emacs-7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41.zip
(syms_of_insdel): Define Lisp variable inhibit-modification-hooks.
-rw-r--r--src/insdel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 738d55909ed..72437face1e 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -2727,5 +2727,11 @@ syms_of_insdel ()
2727 "Used internally by the `combine-after-change-calls' macro."); 2727 "Used internally by the `combine-after-change-calls' macro.");
2728 Vcombine_after_change_calls = Qnil; 2728 Vcombine_after_change_calls = Qnil;
2729 2729
2730 DEFVAR_BOOL ("inhibit-modification-hooks", &inhibit_modification_hooks,
2731 "Non-nil means don't run any of the hooks that respond to buffer changes.\n\
2732This affects `before-change-functions' and `after-change-functions',\n\
2733as well as hooks attached to text properties and overlays.");
2734 inhibit_modification_hooks = 0;
2735
2730 defsubr (&Scombine_after_change_execute); 2736 defsubr (&Scombine_after_change_execute);
2731} 2737}