comparison src/window.c @ 8366:3be9c6b57956

(Fdisplay_buffer): Add MULTI_FRAME cond in last change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Jul 1994 12:43:01 +0000
parents 30755be9badb
children 9a68cba600fc
comparison
equal deleted inserted replaced
8365:2d49d0dc9fc3 8366:3be9c6b57956
1850 1850
1851 /* Note that both Fget_largest_window and Fget_lru_window 1851 /* Note that both Fget_largest_window and Fget_lru_window
1852 ignore minibuffers and dedicated windows. 1852 ignore minibuffers and dedicated windows.
1853 This means they can return nil. */ 1853 This means they can return nil. */
1854 1854
1855 #ifdef MULTI_FRAME
1855 /* If the frame we would try to split cannot be split, 1856 /* If the frame we would try to split cannot be split,
1856 try other frames. */ 1857 try other frames. */
1857 if (FRAME_NO_SPLIT_P (NILP (frames) ? selected_frame 1858 if (FRAME_NO_SPLIT_P (NILP (frames) ? selected_frame
1858 : last_nonminibuf_frame)) 1859 : last_nonminibuf_frame))
1859 { 1860 {
1864 window = Fget_largest_window (make_number (0)); 1865 window = Fget_largest_window (make_number (0));
1865 if (NILP (window)) 1866 if (NILP (window))
1866 window = Fget_largest_window (Qt); 1867 window = Fget_largest_window (Qt);
1867 } 1868 }
1868 else 1869 else
1870 #endif
1869 window = Fget_largest_window (frames); 1871 window = Fget_largest_window (frames);
1870 1872
1871 /* If we got a tall enough full-width window, split it. */ 1873 /* If we got a tall enough full-width window, split it. */
1872 if (!NILP (window) 1874 if (!NILP (window)
1873 && window_height (window) >= split_height_threshold 1875 && window_height (window) >= split_height_threshold