From: Gerd Moellmann Date: Mon, 15 Oct 2001 11:40:46 +0000 (+0000) Subject: (window_loop): Don't check for Fother_buffer returning nil. X-Git-Tag: ttn-vms-21-2-B4~19421 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa601ad023cf2548ef8e107475ea5ac1d3f8e9ef;p=emacs.git (window_loop): Don't check for Fother_buffer returning nil. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5045871d930..f8b2daf929c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2001-10-15 Gerd Moellmann + + * window.c (window_loop): Don't check for Fother_buffer returning + nil. + + * window.c (select_window_1): Unfreeze window start. Remove a + doubled test for WINDOW being live. + 2001-10-15 Pavel Jan,Bm(Bk * fns.c (Fmapconcat): Fix typo in a doc string. diff --git a/src/window.c b/src/window.c index 8f7dd74cf88..4c629113d9d 100644 --- a/src/window.c +++ b/src/window.c @@ -1854,8 +1854,6 @@ window_loop (type, obj, mini, frames) display there. */ Lisp_Object buffer; buffer = Fother_buffer (obj, Qnil, w->frame); - if (NILP (buffer)) - buffer = Fget_buffer_create (build_string ("*scratch*")); Fset_window_buffer (window, buffer); if (EQ (window, selected_window)) Fset_buffer (w->buffer); @@ -1891,8 +1889,6 @@ window_loop (type, obj, mini, frames) /* Find another buffer to show in this window. */ buffer = Fother_buffer (obj, Qnil, w->frame); - if (NILP (buffer)) - buffer = Fget_buffer_create (build_string ("*scratch*")); /* If this window is dedicated, and in a frame of its own, kill the frame. */