From: Gerd Moellmann Date: Tue, 11 Sep 2001 16:11:08 +0000 (+0000) Subject: (read_minibuf_unwind): Bind inhibit-modification-hooks. X-Git-Tag: emacs-pretest-21.0.106~145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd819d14fd8e9b0be253731d9355c4ffb5d5520a;p=emacs.git (read_minibuf_unwind): Bind inhibit-modification-hooks. --- diff --git a/src/ChangeLog b/src/ChangeLog index c15cc1efc0c..72b7d55aca0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-09-11 Gerd Moellmann + * minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks. + * minibuf.c (read_minibuf): Bind inhibit-modification-hooks to t, in addition to read-only. diff --git a/src/minibuf.c b/src/minibuf.c index 78c7c375f7d..51ea67a10e8 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -742,6 +742,7 @@ read_minibuf_unwind (data) int count = specpdl_ptr - specpdl; /* Prevent error in erase-buffer. */ specbind (Qinhibit_read_only, Qt); + specbind (Qinhibit_modification_hooks, Qt); old_deactivate_mark = Vdeactivate_mark; Ferase_buffer (); Vdeactivate_mark = old_deactivate_mark;