]> git.eshelyaron.com Git - emacs.git/commitdiff
(temp_output_buffer_setup): Clear out overlays,
authorKarl Heuer <kwzh@gnu.org>
Sun, 12 Apr 1998 18:08:02 +0000 (18:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 12 Apr 1998 18:08:02 +0000 (18:08 +0000)
visited file, undo list, etc.

src/print.c

index 30e9ff74af144f525e914ea42e8dc14669ff0807..dc6272d2f82c0cdedbb3a5ee64895970a56853ef 100644 (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);