# HG changeset patch # User Kenichi Handa # Date 1084190948 0 # Node ID a318c79b8463fc115f95dcb346e451331aedd029 # Parent 43663119f752db666c2a94ec6a6a375eb454d7d9 (temp_output_buffer_setup): Bind inhibit-read-only and inhibit-modification-hooks to t temporarily before calling Ferase_buffer. diff -r 43663119f752 -r a318c79b8463 src/print.c --- a/src/print.c Mon May 10 12:08:32 2004 +0000 +++ b/src/print.c Mon May 10 12:09:08 2004 +0000 @@ -601,6 +601,8 @@ eassert (current_buffer->overlays_after == NULL); current_buffer->enable_multibyte_characters = buffer_defaults.enable_multibyte_characters; + specbind (Qinhibit_read_only, Qt); + specbind (Qinhibit_modification_hooks, Qt); Ferase_buffer (); XSETBUFFER (buf, current_buffer);