Commit 7baf49cf authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(syms_of_insdel): Define Lisp variable inhibit-modification-hooks.

parent c4ea52a6
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment