changeset 51200:be76b5735f96

Update Fset_window_buffer usage.
author Kim F. Storm <storm@cua.dk>
date Sat, 24 May 2003 22:02:14 +0000
parents 7d669fe9c0d0
children df6e2df16eb0
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Sat May 24 22:00:57 2003 +0000
+++ b/src/minibuf.c	Sat May 24 22:02:14 2003 +0000
@@ -159,7 +159,7 @@
 	 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 @@
   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);