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).
This commit is contained in:
parent
0016fa11a7
commit
4a52a98a9a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue