# HG changeset patch # User Gerd Moellmann # Date 1000211570 0 # Node ID 01728833d5415a49543701a7a69ec252bd47dd6b # Parent 76c1a0ab451744c45a0abc929a6a0a8df3dcae2c (with_echo_area_buffer): Bind inhibit-modification-hooks to t in addition to read-only. diff -r 76c1a0ab4517 -r 01728833d541 src/xdisp.c --- a/src/xdisp.c Tue Sep 11 12:32:17 2001 +0000 +++ b/src/xdisp.c Tue Sep 11 12:32:50 2001 +0000 @@ -6262,6 +6262,7 @@ current_buffer->undo_list = Qt; current_buffer->read_only = Qnil; specbind (Qinhibit_read_only, Qt); + specbind (Qinhibit_modification_hooks, Qt); if (clear_buffer_p && Z > BEG) del_range (BEG, Z);