]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
authorMartin Rudalics <rudalics@gmx.at>
Wed, 6 Mar 2019 09:54:07 +0000 (10:54 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 6 Mar 2019 09:54:07 +0000 (10:54 +0100)
lisp/window.el

index 98cdf98cda54b74bf0e5fa3e232dee43bb0fd614..85f2ee1e0322bd078e652642096e2b16a9c8e215 100644 (file)
@@ -8219,10 +8219,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 WINDOW's frame.
 
 If the optional argument ONLY is `vertically', resize the frame
 vertically only.  If ONLY is `horizontally', resize the frame