From: Richard M. Stallman Date: Fri, 24 Mar 1995 05:20:27 +0000 (+0000) Subject: (temp_output_buffer_setup): (Re)set the default X-Git-Tag: emacs-19.34~4744 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4;p=emacs.git (temp_output_buffer_setup): (Re)set the default directory of the temp buffer to that of the current buffer. --- diff --git a/src/print.c b/src/print.c index 3087c95c1ed..d5d1e358b06 100644 --- a/src/print.c +++ b/src/print.c @@ -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 ();