diff options
author | Martin Rudalics <rudalics@gmx.at> | 2019-02-02 10:16:45 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2019-02-02 10:16:45 +0100 |
commit | 30c09955f64815201ae9b86215fed8ea2af0ba66 (patch) | |
tree | 2b7947a55d298a553f37fa8a37fc82d90747c762 | |
parent | dc1d2d3c22ab91b8b52188574680a028851fbda8 (diff) | |
download | emacs-30c09955f64815201ae9b86215fed8ea2af0ba66.tar.gz |
Fix window splitting behavior of 'display-buffer-at-bottom'
* lisp/window.el (display-buffer-at-bottom): Never split an
arbitrary bottom window. Try to split the frame's main
window instead (Bug#33870).
-rw-r--r-- | lisp/window.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/window.el b/lisp/window.el index 424d0525f4e..19f84696e0f 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -7560,10 +7560,6 @@ selected frame." (or (and bottom-window-shows-buffer (window--display-buffer buffer bottom-window 'reuse alist)) (and (not (frame-parameter nil 'unsplittable)) - (let (split-height-threshold) - (setq window (window--try-to-split-window bottom-window alist))) - (window--display-buffer buffer window 'window alist)) - (and (not (frame-parameter nil 'unsplittable)) (setq window (split-window-no-error (window-main-window))) (window--display-buffer buffer window 'window alist)) (and (setq window bottom-window) |