Commit aa601ad0 authored by Gerd Moellmann's avatar Gerd Moellmann

(window_loop): Don't check for Fother_buffer returning nil.

parent dd8d1e71
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,Bm(Bk <Pavel@Janik.cz>
* fns.c (Fmapconcat): Fix typo in a doc string.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment