]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_loop): Don't check for Fother_buffer returning nil.
authorGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 11:40:46 +0000 (11:40 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 11:40:46 +0000 (11:40 +0000)
src/ChangeLog
src/window.c

index 5045871d930caed3aa33e6cd27a4af6dee6978a0..f8b2daf929c83556a78bd8d5ce8e941206643e27 100644 (file)
@@ -1,3 +1,11 @@
+2001-10-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * fns.c (Fmapconcat): Fix typo in a doc string.
index 8f7dd74cf8832431d96a0dabb34366763705a1e8..4c629113d9d4a74dd51ef36d532568e46513c115 100644 (file)
@@ -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.  */