Mercurial > emacs
changeset 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 | a80f6d8c1dc6 |
children | 8a51c720f8d7 |
files | src/buffer.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Thu Oct 08 06:45:36 1998 +0000 +++ b/src/buffer.c Thu Oct 08 06:45:36 1998 +0000 @@ -153,6 +153,9 @@ 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 @@ Vbuffer_alist = Qnil; Fset_buffer (Fget_buffer_create (build_string ("*scratch*"))); + + inhibit_modification_hooks = 0; } void