Mercurial > emacs
comparison src/minibuf.c @ 39250:5921e30bf534
(read_minibuf_unwind): Bind inhibit-modification-hooks.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 11 Sep 2001 16:10:41 +0000 |
parents | 51b411c7b689 |
children | 6d9fa06012a6 |
comparison
equal
deleted
inserted
replaced
39249:6c123a053838 | 39250:5921e30bf534 |
---|---|
740 /* Erase the minibuffer we were using at this level. */ | 740 /* Erase the minibuffer we were using at this level. */ |
741 { | 741 { |
742 int count = specpdl_ptr - specpdl; | 742 int count = specpdl_ptr - specpdl; |
743 /* Prevent error in erase-buffer. */ | 743 /* Prevent error in erase-buffer. */ |
744 specbind (Qinhibit_read_only, Qt); | 744 specbind (Qinhibit_read_only, Qt); |
745 specbind (Qinhibit_modification_hooks, Qt); | |
745 old_deactivate_mark = Vdeactivate_mark; | 746 old_deactivate_mark = Vdeactivate_mark; |
746 Ferase_buffer (); | 747 Ferase_buffer (); |
747 Vdeactivate_mark = old_deactivate_mark; | 748 Vdeactivate_mark = old_deactivate_mark; |
748 unbind_to (count, Qnil); | 749 unbind_to (count, Qnil); |
749 } | 750 } |