mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-24 19:03:29 +00:00
Have display-buffer-below-selected never split window horizontally.
* window.el (display-buffer-below-selected): Never split window horizontally. Suggested by Juri Linkov <juri@jurta.org>.
This commit is contained in:
parent
f77d7d1773
commit
f93cc74f04
@ -1,3 +1,8 @@
|
||||
2013-12-14 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (display-buffer-below-selected): Never split window
|
||||
horizontally. Suggested by Juri Linkov <juri@jurta.org>.
|
||||
|
||||
2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
|
||||
|
||||
* emacs-lisp/package.el (package--prepare-dependencies): New function.
|
||||
|
@ -6245,7 +6245,8 @@ This either splits the selected window or reuses the window below
|
||||
the selected one."
|
||||
(let (window)
|
||||
(or (and (not (frame-parameter nil 'unsplittable))
|
||||
(setq window (window--try-to-split-window (selected-window) alist))
|
||||
(let (split-width-threshold)
|
||||
(setq window (window--try-to-split-window (selected-window) alist)))
|
||||
(window--display-buffer
|
||||
buffer window 'window alist display-buffer-mark-dedicated))
|
||||
(and (setq window (window-in-direction 'below))
|
||||
|
Loading…
Reference in New Issue
Block a user