mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 16:41:45 -08:00
(syms_of_insdel): Define Lisp variable inhibit-modification-hooks.
This commit is contained in:
parent
c4ea52a64f
commit
7baf49cf5e
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue