# HG changeset patch # User Stefan Monnier # Date 1131037910 0 # Node ID 74fd87aeeaf4f1241bf025b936187c8b8b5d2612 # Parent c385c7a8543911dae6c1f07154c7cf47a76f56f5 (Fdisplay_buffer): Fix last change to not use a dedicated window. diff -r c385c7a85439 -r 74fd87aeeaf4 src/window.c --- a/src/window.c Thu Nov 03 17:01:03 2005 +0000 +++ b/src/window.c Thu Nov 03 17:11:50 2005 +0000 @@ -3535,6 +3535,8 @@ || EQ (XWINDOW (window)->parent, Qnil)) && window_height (window) >= window_min_height << 1) window = Fsplit_window (window, Qnil, Qnil); + else + window = Fget_lru_window (frames, Qnil); /* If Fget_lru_window returned nil, try other approaches. */ /* Try visible frames first. */