From 2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 24 Mar 1995 05:20:27 +0000 Subject: [PATCH] (temp_output_buffer_setup): (Re)set the default directory of the temp buffer to that of the current buffer. --- src/print.c | 1 + 1 file changed, 1 insertion(+) 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 (); -- 2.39.5