aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Rudalics2015-07-22 12:20:13 +0200
committerMartin Rudalics2015-07-22 12:20:13 +0200
commit59526c325e7c857776bcfe7560d533391bf045b4 (patch)
tree99861d6ff9e2d199fa747840b1a14e3a82d06bf7 /doc
parentfed091f7c2513631d8c0570f444be9486d7563d1 (diff)
downloademacs-59526c325e7c857776bcfe7560d533391bf045b4.tar.gz
emacs-59526c325e7c857776bcfe7560d533391bf045b4.zip
2015-07-22 Martin Rudalics <rudalics@gmx.at>
Optionally even widths of `display-buffer' windows. (Bug#21100) * lisp/window.el (quit-restore-window): Restore width if requested. (display-buffer-record-window): Record width when window is reused and horizontally combined. (even-window-sizes): New option to allow evening window widths. (even-window-heights): Defalias to `even-window-sizes'. (window--even-window-heights): Rename to `window--even-window-sizes'. Handle side-by-side windows. (display-buffer-use-some-window): Call `window--even-window-sizes' instead of `window--even-window-heights'. * lisp/help.el (resize-temp-buffer-window): Fix indentation. * doc/lispref/windows.texi (Choosing Window Options): Describe `even-window-sizes'. (Coordinates and Windows): Fix typo.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index b2bc6378008..750397c7375 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2547,6 +2547,21 @@ least that many columns. If the value is @code{nil}, that means not
2547to split this way. 2547to split this way.
2548@end defopt 2548@end defopt
2549 2549
2550@defopt even-window-sizes
2551This variable, if non-nil, causes @code{display-buffer} to even window
2552sizes whenever it reuses an existing window and that window is adjacent
2553to the selected one.
2554
2555If its value is @code{width-only}, sizes are evened only if the reused
2556window is on the left or right of the selected one and the selected
2557window is wider than the reused one. If its value is @code{height-only}
2558sizes are evened only if the reused window is above or beneath the
2559selected window and the selected window is higher than the reused one.
2560Any other non-@code{nil} value means to even sizes in any of these cases
2561provided the selected window is larger than the reused one in the sense
2562of their combination.
2563@end defopt
2564
2550@defopt pop-up-frames 2565@defopt pop-up-frames
2551If the value of this variable is non-@code{nil}, that means 2566If the value of this variable is non-@code{nil}, that means
2552@code{display-buffer} may display buffers by making new frames. The 2567@code{display-buffer} may display buffers by making new frames. The
@@ -3690,7 +3705,7 @@ The coordinates are in the header line of @var{window}.
3690The coordinates are in the divider separating @var{window} from a 3705The coordinates are in the divider separating @var{window} from a
3691window on the right. 3706window on the right.
3692 3707
3693@item right-divider 3708@item bottom-divider
3694The coordinates are in the divider separating @var{window} from a 3709The coordinates are in the divider separating @var{window} from a
3695window beneath. 3710window beneath.
3696 3711