Commit d28eab19 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(temp_output_buffer_setup): Bind inhibit-read-only and

inhibit-modification-hooks to t temporarily before calling
parent 5c2a995d
......@@ -601,6 +601,8 @@ temp_output_buffer_setup (bufname)
eassert (current_buffer->overlays_after == NULL);
= buffer_defaults.enable_multibyte_characters;
specbind (Qinhibit_read_only, Qt);
specbind (Qinhibit_modification_hooks, Qt);
Ferase_buffer ();
XSETBUFFER (buf, current_buffer);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment