# HG changeset patch # User Martin Rudalics # Date 1220598715 0 # Node ID 5a7e949834da19d0b8611c432cd497f8251ca6f7 # Parent bd76a65f1484748d55c80fc02b7384c15ebb1cae (window--try-to-split-window): Don't split when window is not splittable in last disjunct. (Bug#888) diff -r bd76a65f1484 -r 5a7e949834da lisp/window.el --- 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."