Commit 4a52a98a authored by Martin Rudalics's avatar Martin Rudalics

In display-buffer-use-some-window don't shrink window used (Bug#17671).

* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).
parent 0016fa11
2014-06-03 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).
2014-06-03 Eli Zaretskii <eliz@gnu.org>
* menu-bar.el (menu-bar-open): Fix last change: use the PC
......
......@@ -6497,7 +6497,7 @@ that frame."
;; resize it to its old height but don't signal an error.
(when (and (listp quad)
(integerp (nth 3 quad))
(/= (nth 3 quad) (window-total-height window)))
(> (nth 3 quad) (window-total-height window)))
(condition-case nil
(window-resize window (- (nth 3 quad) (window-total-height window)))
(error nil)))
......
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