changeset 21484:e4f63bf20c03

(temp_output_buffer_setup): Clear out overlays, visited file, undo list, etc.
author Karl Heuer <kwzh@gnu.org>
date Sun, 12 Apr 1998 18:08:02 +0000
parents c6d7001a262c
children 72354f140c33
files src/print.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Sun Apr 12 14:19:09 1998 +0000
+++ b/src/print.c	Sun Apr 12 18:08:02 1998 +0000
@@ -634,6 +634,12 @@
 
   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);