]> git.eshelyaron.com Git - emacs.git/commitdiff
(temp_output_buffer_show): Copy default-directory from current buffer.
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 Jun 1997 00:35:28 +0000 (00:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 Jun 1997 00:35:28 +0000 (00:35 +0000)
src/window.c

index 016c0070bb5a6b2a221d4e3dc7578e4dcf2c10c2..59f49f9253085e075dc0c8eed368fe649a6026a3 100644 (file)
@@ -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;