Mercurial > emacs
comparison src/buffer.c @ 23399:e80c5f687340
(inhibit_modification_hooks): New variable.
(init_buffer_once): Initialize inhibit_modification_hooks to 0.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 08 Oct 1998 06:45:36 +0000 |
parents | eb56d7e8faa1 |
children | 63e98b81cc29 |
comparison
equal
deleted
inserted
replaced
23398:a80f6d8c1dc6 | 23399:e80c5f687340 |
---|---|
150 Lisp_Object Vfirst_change_hook; | 150 Lisp_Object Vfirst_change_hook; |
151 | 151 |
152 Lisp_Object Qfirst_change_hook; | 152 Lisp_Object Qfirst_change_hook; |
153 Lisp_Object Qbefore_change_functions; | 153 Lisp_Object Qbefore_change_functions; |
154 Lisp_Object Qafter_change_functions; | 154 Lisp_Object Qafter_change_functions; |
155 | |
156 /* If nonzero, all modification hooks are suppressed. */ | |
157 int inhibit_modification_hooks; | |
155 | 158 |
156 Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local; | 159 Lisp_Object Qfundamental_mode, Qmode_class, Qpermanent_local; |
157 | 160 |
158 Lisp_Object Qprotected_field; | 161 Lisp_Object Qprotected_field; |
159 | 162 |
3941 | 3944 |
3942 /* super-magic invisible buffer */ | 3945 /* super-magic invisible buffer */ |
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 |
3948 void | 3953 void |
3949 init_buffer () | 3954 init_buffer () |
3950 { | 3955 { |