[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 dbf1837: * lisp/window.el (fit-frame-to-buffer):
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] emacs-26 dbf1837: * lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate. |
Date: |
Wed, 6 Mar 2019 08:45:33 -0500 (EST) |
branch: emacs-26
commit dbf1837940b090151b389235c1fc3617aef48234
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
---
lisp/window.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/lisp/window.el b/lisp/window.el
index 4b30609..8c04e01 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -8026,10 +8026,13 @@ Return 0 otherwise."
(defun fit-frame-to-buffer (&optional frame max-height min-height max-width
min-width only)
"Adjust size of FRAME to display the contents of its buffer exactly.
FRAME can be any live frame and defaults to the selected one.
-Fit only if FRAME's root window is live. MAX-HEIGHT, MIN-HEIGHT,
-MAX-WIDTH and MIN-WIDTH specify bounds on the new total size of
-FRAME's root window. MIN-HEIGHT and MIN-WIDTH default to the values of
-`window-min-height' and `window-min-width' respectively.
+Fit only if FRAME's root window is live.
+
+MAX-HEIGHT, MIN-HEIGHT, MAX-WIDTH and MIN-WIDTH specify bounds on
+the new total size of FRAME's root window. MIN-HEIGHT and
+MIN-WIDTH default to the values of `window-min-height' and
+`window-min-width' respectively. These arguments are specified
+in the canonical character width and height of FRAME.
If the optional argument ONLY is `vertically', resize the frame
vertically only. If ONLY is `horizontally', resize the frame
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 dbf1837: * lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.,
Martin Rudalics <=