summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-15 11:40:46 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-15 11:40:46 +0000
commitaa601ad023cf2548ef8e107475ea5ac1d3f8e9ef (patch)
tree5f959724dca952259c23beb89cc8655a13da0735 /src/window.c
parentdd8d1e71ef11f3722fc4e5607b45c32839d1b000 (diff)
downloademacs-aa601ad023cf2548ef8e107475ea5ac1d3f8e9ef.tar.gz
(window_loop): Don't check for Fother_buffer returning nil.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 0 insertions, 4 deletions
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. */