Mercurial > emacs
diff src/window.c @ 39958:47a9547923c8
(window_loop): Don't check for Fother_buffer returning nil.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 15 Oct 2001 11:38:41 +0000 |
parents | 3a1666ed16b8 |
children | 6b389fb978bc |
line wrap: on
line diff
--- 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. */