From: Richard M. Stallman Date: Tue, 7 Sep 1999 03:25:35 +0000 (+0000) Subject: (syms_of_insdel): Define Lisp variable inhibit-modification-hooks. X-Git-Tag: emacs-pretest-21.0.90~6863 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41;p=emacs.git (syms_of_insdel): Define Lisp variable inhibit-modification-hooks. --- 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 () "Used internally by the `combine-after-change-calls' macro."); Vcombine_after_change_calls = Qnil; + DEFVAR_BOOL ("inhibit-modification-hooks", &inhibit_modification_hooks, + "Non-nil means don't run any of the hooks that respond to buffer changes.\n\ +This affects `before-change-functions' and `after-change-functions',\n\ +as well as hooks attached to text properties and overlays."); + inhibit_modification_hooks = 0; + defsubr (&Scombine_after_change_execute); }