From: Kim F. Storm Date: Sat, 24 May 2003 22:02:14 +0000 (+0000) Subject: Update Fset_window_buffer usage. X-Git-Tag: ttn-vms-21-2-B4~9978 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbbfe056c8e590f5c374e403c0cae26d3e1e01aa;p=emacs.git Update Fset_window_buffer usage. --- diff --git a/src/minibuf.c b/src/minibuf.c index 63799a2be76..b0b3cdaa487 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -159,7 +159,7 @@ choose_minibuf_frame () init_window_once. That window doesn't have a buffer. */ buffer = XWINDOW (minibuf_window)->buffer; if (BUFFERP (buffer)) - Fset_window_buffer (sf->minibuffer_window, buffer); + Fset_window_buffer (sf->minibuffer_window, buffer, Qnil); minibuf_window = sf->minibuffer_window; } @@ -588,7 +588,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag, Vminibuf_scroll_window = selected_window; if (minibuf_level == 1 || !EQ (minibuf_window, selected_window)) minibuf_selected_window = selected_window; - Fset_window_buffer (minibuf_window, Fcurrent_buffer ()); + Fset_window_buffer (minibuf_window, Fcurrent_buffer (), Qnil); Fselect_window (minibuf_window, Qnil); XSETFASTINT (XWINDOW (minibuf_window)->hscroll, 0);