diff options
| author | Martin Rudalics | 2019-03-06 10:54:07 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2019-03-06 10:54:07 +0100 |
| commit | a3be45ddf43da73ce91731cfd4792abf14596637 (patch) | |
| tree | 9054d520170c69850996af2deb974b347afa7569 | |
| parent | 612a65d90cc98c5f4a1e849629ddc2a7bb0fbd67 (diff) | |
| download | emacs-a3be45ddf43da73ce91731cfd4792abf14596637.tar.gz emacs-a3be45ddf43da73ce91731cfd4792abf14596637.zip | |
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
| -rw-r--r-- | lisp/window.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/window.el b/lisp/window.el index 98cdf98cda5..85f2ee1e032 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -8219,10 +8219,13 @@ Return 0 otherwise." | |||
| 8219 | (defun fit-frame-to-buffer (&optional frame max-height min-height max-width min-width only) | 8219 | (defun fit-frame-to-buffer (&optional frame max-height min-height max-width min-width only) |
| 8220 | "Adjust size of FRAME to display the contents of its buffer exactly. | 8220 | "Adjust size of FRAME to display the contents of its buffer exactly. |
| 8221 | FRAME can be any live frame and defaults to the selected one. | 8221 | FRAME can be any live frame and defaults to the selected one. |
| 8222 | Fit only if FRAME's root window is live. MAX-HEIGHT, MIN-HEIGHT, | 8222 | Fit only if FRAME's root window is live. |
| 8223 | MAX-WIDTH and MIN-WIDTH specify bounds on the new total size of | 8223 | |
| 8224 | FRAME's root window. MIN-HEIGHT and MIN-WIDTH default to the values of | 8224 | MAX-HEIGHT, MIN-HEIGHT, MAX-WIDTH and MIN-WIDTH specify bounds on |
| 8225 | `window-min-height' and `window-min-width' respectively. | 8225 | the new total size of FRAME's root window. MIN-HEIGHT and |
| 8226 | MIN-WIDTH default to the values of `window-min-height' and | ||
| 8227 | `window-min-width' respectively. These arguments are specified | ||
| 8228 | in the canonical character width and height of WINDOW's frame. | ||
| 8226 | 8229 | ||
| 8227 | If the optional argument ONLY is `vertically', resize the frame | 8230 | If the optional argument ONLY is `vertically', resize the frame |
| 8228 | vertically only. If ONLY is `horizontally', resize the frame | 8231 | vertically only. If ONLY is `horizontally', resize the frame |