Mercurial > emacs
diff src/minibuf.c @ 39248:51b411c7b689
(read_minibuf): Bind inhibit-modification-hooks to t,
in addition to read-only.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 11 Sep 2001 13:08:48 +0000 |
parents | 4e1eed1dee4e |
children | 5921e30bf534 |
line wrap: on
line diff
--- a/src/minibuf.c Tue Sep 11 12:45:24 2001 +0000 +++ b/src/minibuf.c Tue Sep 11 13:08:48 2001 +0000 @@ -511,8 +511,9 @@ /* Erase the buffer. */ { - int count1 = specpdl_ptr - specpdl; + int count1 = BINDING_STACK_SIZE (); specbind (Qinhibit_read_only, Qt); + specbind (Qinhibit_modification_hooks, Qt); Ferase_buffer (); unbind_to (count1, Qnil); }