aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
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)
1854 display there. */ 1854 display there. */
1855 Lisp_Object buffer; 1855 Lisp_Object buffer;
1856 buffer = Fother_buffer (obj, Qnil, w->frame); 1856 buffer = Fother_buffer (obj, Qnil, w->frame);
1857 if (NILP (buffer))
1858 buffer = Fget_buffer_create (build_string ("*scratch*"));
1859 Fset_window_buffer (window, buffer); 1857 Fset_window_buffer (window, buffer);
1860 if (EQ (window, selected_window)) 1858 if (EQ (window, selected_window))
1861 Fset_buffer (w->buffer); 1859 Fset_buffer (w->buffer);
@@ -1891,8 +1889,6 @@ window_loop (type, obj, mini, frames)
1891 1889
1892 /* Find another buffer to show in this window. */ 1890 /* Find another buffer to show in this window. */
1893 buffer = Fother_buffer (obj, Qnil, w->frame); 1891 buffer = Fother_buffer (obj, Qnil, w->frame);
1894 if (NILP (buffer))
1895 buffer = Fget_buffer_create (build_string ("*scratch*"));
1896 1892
1897 /* If this window is dedicated, and in a frame of its own, 1893 /* If this window is dedicated, and in a frame of its own,
1898 kill the frame. */ 1894 kill the frame. */