1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00

(temp_output_buffer_setup): Clear out overlays,

visited file, undo list, etc.
This commit is contained in:
Karl Heuer 1998-04-12 18:08:02 +00:00
parent de219b909d
commit c5c6d57c7c

View File

@ -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);