Have display-buffer-at-bottom always create new window on bottom (Bug#15961).
* window.el (display-buffer-at-bottom): Make sure that split-window-sensibly creates the new window on bottom (Bug#15961).
This commit is contained in:
parent
a5fa8eb484
commit
0013943516
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-11-25 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (display-buffer-at-bottom): Make sure that
|
||||
split-window-sensibly creates the new window on bottom
|
||||
(Bug#15961).
|
||||
|
||||
2013-11-23 David Kastrup <dak@gnu.org>
|
||||
|
||||
* vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
|
||||
|
|
|
@ -5728,7 +5728,8 @@ of the selected frame."
|
|||
(walk-window-tree
|
||||
(lambda (window) (setq bottom-window window)) nil nil 'nomini)
|
||||
(or (and (not (frame-parameter nil 'unsplittable))
|
||||
(setq window (window--try-to-split-window bottom-window alist))
|
||||
(let (split-width-threshold)
|
||||
(setq window (window--try-to-split-window bottom-window alist)))
|
||||
(window--display-buffer
|
||||
buffer window 'window alist display-buffer-mark-dedicated))
|
||||
(and (not (frame-parameter nil 'unsplittable))
|
||||
|
|
Loading…
Add table
Reference in a new issue