(temp_output_buffer_setup): (Re)set the default
authorRichard M. Stallman <rms@gnu.org>
Fri, 24 Mar 1995 05:20:27 +0000 (05:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 24 Mar 1995 05:20:27 +0000 (05:20 +0000)
directory of the temp buffer to that of the current buffer.

src/print.c

index 3087c95..d5d1e35 100644 (file)
@@ -387,6 +387,7 @@ temp_output_buffer_setup (bufname)
 
   Fset_buffer (Fget_buffer_create (build_string (bufname)));
 
+  current_buffer->directory = old->directory;
   current_buffer->read_only = Qnil;
   Ferase_buffer ();