From cbbfe056c8e590f5c374e403c0cae26d3e1e01aa Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sat, 24 May 2003 22:02:14 +0000 Subject: [PATCH] Update Fset_window_buffer usage. --- src/minibuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2