aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKenichi Handa1998-10-08 06:45:36 +0000
committerKenichi Handa1998-10-08 06:45:36 +0000
commit7775635d6fb6a75029051dc681e569b3d1af7ea9 (patch)
treec0ed39c4ec541b61b7645e8e16ca53617d3f7dd0 /src/buffer.c
parent347d3e9ca8bf6c66aa389c12b19af7f5c6129bc0 (diff)
downloademacs-7775635d6fb6a75029051dc681e569b3d1af7ea9.tar.gz
emacs-7775635d6fb6a75029051dc681e569b3d1af7ea9.zip
(inhibit_modification_hooks): New variable.
(init_buffer_once): Initialize inhibit_modification_hooks to 0.
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