GNU bug report logs -
#16351
24.3.50; `balance-windows' has no effect after (menu-bar-mode -1)
Previous Next
Reported by: Eduard Wiebe <usenet <at> pusto.de>
Date: Sun, 5 Jan 2014 13:42:02 UTC
Severity: normal
Found in version 24.3.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> A minimal recipe is:
>
> emacs -Q
> C-x 2 C-x 2
> C-x +
> (no effect).
Arrrgh. I'll check in a fix later today. If you want to try it
now, do the below. Eduard: This should fix your problem as well.
Thanks, martin
=== modified file 'lisp/window.el'
--- lisp/window.el 2014-01-05 16:29:44 +0000
+++ lisp/window.el 2014-01-07 11:41:17 +0000
@@ -4541,7 +4541,7 @@
(setq sub first)
(while (and sub (> rest 0))
(unless (window--resize-child-windows-skip-p window)
- (set-window-new-pixel sub char-size t)
+ (set-window-new-pixel sub (min rest char-size) t)
(setq rest (- rest char-size)))
(setq sub (window-right sub)))
@@ -4550,7 +4550,7 @@
(setq sub first)
(while (and sub (> rest 0))
(unless (eq (window-new-normal sub) 'ignore)
- (set-window-new-pixel sub char-size t)
+ (set-window-new-pixel sub (min rest char-size) t)
(setq rest (- rest char-size)))
(setq sub (window-right sub)))
This bug report was last modified 11 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.