Commit 7775635d authored by Kenichi Handa's avatar Kenichi Handa

(inhibit_modification_hooks): New variable.

(init_buffer_once): Initialize inhibit_modification_hooks to 0.
parent 347d3e9c
......@@ -153,6 +153,9 @@ Lisp_Object Qfirst_change_hook;
Lisp_Object Qbefore_change_functions;
Lisp_Object Qafter_change_functions;
/* If nonzero, all modification hooks are suppressed. */
int inhibit_modification_hooks;
Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local;
Lisp_Object Qprotected_field;
......@@ -3943,6 +3946,8 @@ init_buffer_once ()
Vbuffer_alist = Qnil;
Fset_buffer (Fget_buffer_create (build_string ("*scratch*")));
inhibit_modification_hooks = 0;
}
void
......
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