1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(fit-window-to-buffer): Doc fix.

This commit is contained in:
Richard M. Stallman 2006-05-30 04:32:09 +00:00
parent 749eecf527
commit 1cce8267f8

View File

@ -597,7 +597,7 @@ in some window."
(1+ (vertical-motion (buffer-size) window))))))
(defun fit-window-to-buffer (&optional window max-height min-height)
"Make WINDOW the right size to display its contents exactly.
"Make WINDOW the right height to display its contents exactly.
If WINDOW is omitted or nil, it defaults to the selected window.
If the optional argument MAX-HEIGHT is supplied, it is the maximum height
the window is allowed to be, defaulting to the frame height.