# HG changeset patch # User Gerd Moellmann # Date 1003145921 0 # Node ID 47a9547923c8ad91d5ccc33180cc018dc1eb114f # Parent a32cf399f143938d5ec59f7a18828606cb38e55f (window_loop): Don't check for Fother_buffer returning nil. diff -r a32cf399f143 -r 47a9547923c8 src/window.c --- a/src/window.c Mon Oct 15 11:13:53 2001 +0000 +++ b/src/window.c Mon Oct 15 11:38:41 2001 +0000 @@ -1854,8 +1854,6 @@ 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 @@ /* 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. */