From: Karl Heuer Date: Sun, 12 Apr 1998 18:08:02 +0000 (+0000) Subject: (temp_output_buffer_setup): Clear out overlays, X-Git-Tag: emacs-20.3~1590 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c5c6d57c7cd3ba5b008c5b51a950a998510dab61;p=emacs.git (temp_output_buffer_setup): Clear out overlays, visited file, undo list, etc. --- diff --git a/src/print.c b/src/print.c index 30e9ff74af1..dc6272d2f82 100644 --- a/src/print.c +++ b/src/print.c @@ -634,6 +634,12 @@ temp_output_buffer_setup (bufname) current_buffer->directory = old->directory; current_buffer->read_only = Qnil; + current_buffer->filename = Qnil; + current_buffer->undo_list = Qt; + current_buffer->overlays_before = Qnil; + current_buffer->overlays_after = Qnil; + current_buffer->enable_multibyte_characters + = buffer_defaults.enable_multibyte_characters; Ferase_buffer (); XSETBUFFER (buf, current_buffer);