diff options
Diffstat (limited to 'src/window.c')
| -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 fe3572fba25..c49493f37ca 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3535,6 +3535,8 @@ displayed. */) | |||
| 3535 | || EQ (XWINDOW (window)->parent, Qnil)) | 3535 | || EQ (XWINDOW (window)->parent, Qnil)) |
| 3536 | && window_height (window) >= window_min_height << 1) | 3536 | && window_height (window) >= window_min_height << 1) |
| 3537 | window = Fsplit_window (window, Qnil, Qnil); | 3537 | window = Fsplit_window (window, Qnil, Qnil); |
| 3538 | else | ||
| 3539 | window = Fget_lru_window (frames, Qnil); | ||
| 3538 | /* If Fget_lru_window returned nil, try other approaches. */ | 3540 | /* If Fget_lru_window returned nil, try other approaches. */ |
| 3539 | 3541 | ||
| 3540 | /* Try visible frames first. */ | 3542 | /* Try visible frames first. */ |