summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2015-07-22 12:20:13 +0200
committerMartin Rudalics <rudalics@gmx.at>2015-07-22 12:20:13 +0200
commit59526c325e7c857776bcfe7560d533391bf045b4 (patch)
tree99861d6ff9e2d199fa747840b1a14e3a82d06bf7 /lisp/help.el
parentfed091f7c2513631d8c0570f444be9486d7563d1 (diff)
downloademacs-59526c325e7c857776bcfe7560d533391bf045b4.tar.gz
emacs-59526c325e7c857776bcfe7560d533391bf045b4.tar.bz2
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 'lisp/help.el')
-rw-r--r--lisp/help.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 1826cb7219a..46136d91003 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1163,8 +1163,8 @@ size of WINDOW."
(and (window-combined-p window t)
fit-window-to-buffer-horizontally)))
(and (eq quit-cadr 'frame)
- fit-frame-to-buffer
- (eq window (frame-root-window window))))
+ fit-frame-to-buffer
+ (eq window (frame-root-window window))))
(fit-window-to-buffer window height nil width nil t))))
;;; Help windows.