Mercurial > emacs
changeset 97992:5a7e949834da
(window--try-to-split-window): Don't split when window
is not splittable in last disjunct. (Bug#888)
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Fri, 05 Sep 2008 07:11:55 +0000 |
parents | bd76a65f1484 |
children | 6a97b039ecff |
files | lisp/window.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/window.el Fri Sep 05 06:53:31 2008 +0000 +++ b/lisp/window.el Fri Sep 05 07:11:55 2008 +0000 @@ -837,8 +837,8 @@ ;; minibuffer window, attempt to split it vertically ;; disregarding the value of `split-height-threshold'. (let ((split-height-threshold 0)) - (window--splittable-p window) - (split-window window))))))) + (and (window--splittable-p window) + (split-window window)))))))) (defun window--frame-usable-p (frame) "Return frame FRAME if it can be used to display another buffer."