Commit f93cc74f authored by Martin Rudalics's avatar Martin Rudalics
Browse files

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>.
parent f77d7d17
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment