From: Richard M. Stallman Date: Sun, 29 Jun 1997 00:35:28 +0000 (+0000) Subject: (temp_output_buffer_show): Copy default-directory from current buffer. X-Git-Tag: emacs-20.1~1453 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bccd3dd175dd7c3c9d1ce11944e158456a664708;p=emacs.git (temp_output_buffer_show): Copy default-directory from current buffer. --- 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;