aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4845b5bc6dd..2d126681dbb 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -153,6 +153,9 @@ Lisp_Object Qfirst_change_hook;
153Lisp_Object Qbefore_change_functions; 153Lisp_Object Qbefore_change_functions;
154Lisp_Object Qafter_change_functions; 154Lisp_Object Qafter_change_functions;
155 155
156/* If nonzero, all modification hooks are suppressed. */
157int inhibit_modification_hooks;
158
156Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local; 159Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local;
157 160
158Lisp_Object Qprotected_field; 161Lisp_Object Qprotected_field;
@@ -3943,6 +3946,8 @@ init_buffer_once ()
3943 Vbuffer_alist = Qnil; 3946 Vbuffer_alist = Qnil;
3944 3947
3945 Fset_buffer (Fget_buffer_create (build_string ("*scratch*"))); 3948 Fset_buffer (Fget_buffer_create (build_string ("*scratch*")));
3949
3950 inhibit_modification_hooks = 0;
3946} 3951}
3947 3952
3948void 3953void