comparison src/window.c @ 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 34f4e691486e
children 1dc4d7e374d5
comparison
equal deleted inserted replaced
18492:668304de6f92 18493:d65021d5c39e
2276 register Lisp_Object buf; 2276 register Lisp_Object buf;
2277 { 2277 {
2278 register struct buffer *old = current_buffer; 2278 register struct buffer *old = current_buffer;
2279 register Lisp_Object window; 2279 register Lisp_Object window;
2280 register struct window *w; 2280 register struct window *w;
2281
2282 XBUFFER (buf)->directory = current_buffer->directory;
2281 2283
2282 Fset_buffer (buf); 2284 Fset_buffer (buf);
2283 BUF_SAVE_MODIFF (XBUFFER (buf)) = MODIFF; 2285 BUF_SAVE_MODIFF (XBUFFER (buf)) = MODIFF;
2284 BEGV = BEG; 2286 BEGV = BEG;
2285 ZV = Z; 2287 ZV = Z;