From bccd3dd175dd7c3c9d1ce11944e158456a664708 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 Jun 1997 00:35:28 +0000 Subject: [PATCH] (temp_output_buffer_show): Copy default-directory from current buffer. --- src/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.c b/src/window.c index 016c0070bb5..59f49f92530 100644 --- a/src/window.c +++ b/src/window.c @@ -2279,6 +2279,8 @@ temp_output_buffer_show (buf) register Lisp_Object window; register struct window *w; + XBUFFER (buf)->directory = current_buffer->directory; + Fset_buffer (buf); BUF_SAVE_MODIFF (XBUFFER (buf)) = MODIFF; BEGV = BEG; -- 2.39.2