changeset 18493:d65021d5c39e

(temp_output_buffer_show): Copy default-directory from current buffer.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 Jun 1997 00:35:28 +0000
parents 668304de6f92
children c64480c04c07
files src/window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Jun 29 00:34:36 1997 +0000
+++ b/src/window.c	Sun Jun 29 00:35:28 1997 +0000
@@ -2279,6 +2279,8 @@
   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;