diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index f4cfcb2b725..0f9fbdc67e4 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1852,6 +1852,7 @@ Returns the window displaying BUFFER.") | |||
| 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 |
| @@ -1866,6 +1867,7 @@ Returns the window displaying BUFFER.") | |||
| 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. */ |