]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 3087c95c1ed81f5e44fa7e33c9f8c3569832a3bd..d5d1e358b064b604601a368047fc58222687ac50 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 ();