# HG changeset patch # User Richard M. Stallman # Date 867544528 0 # Node ID d65021d5c39e1fac1f63ccfea8cfe3f515cd510c # Parent 668304de6f92705755028a0f9ebbcfb6f05428dc (temp_output_buffer_show): Copy default-directory from current buffer. diff -r 668304de6f92 -r d65021d5c39e src/window.c --- 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;