Commit 9f7a8b5d authored by Richard M. Stallman's avatar Richard M. Stallman

(Fdisplay_buffer): Add MULTI_FRAME cond in last change.

parent 70e808bd
......@@ -1852,6 +1852,7 @@ Returns the window displaying BUFFER.")
ignore minibuffers and dedicated windows.
This means they can return nil. */
#ifdef MULTI_FRAME
/* If the frame we would try to split cannot be split,
try other frames. */
if (FRAME_NO_SPLIT_P (NILP (frames) ? selected_frame
......@@ -1866,6 +1867,7 @@ Returns the window displaying BUFFER.")
window = Fget_largest_window (Qt);
}
else
#endif
window = Fget_largest_window (frames);
/* If we got a tall enough full-width window, split it. */
......
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