aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-03-24 05:20:27 +0000
committerRichard M. Stallman <[email protected]>1995-03-24 05:20:27 +0000
commit2a1c968a69f5fb56e3b52215cdfa5becdbb4dda4 (patch)
treefd1b288e4fa8502fb0765a26d693130930eea74a /src/print.c
parentbf40a97ffabe6da22a0f05147b9001a3f2a17112 (diff)
(temp_output_buffer_setup): (Re)set the default
directory of the temp buffer to that of the current buffer.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index 3087c95c1e..d5d1e358b0 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 ();