changeset 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 989367eb5ce1
children 6c123a053838
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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);
   }