From: Richard M. Stallman Date: Tue, 30 May 2006 04:32:09 +0000 (+0000) Subject: (fit-window-to-buffer): Doc fix. X-Git-Tag: emacs-pretest-22.0.90~2189 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cce8267f8efd17dfe231aacc53c0873f0c5233d;p=emacs.git (fit-window-to-buffer): Doc fix. --- diff --git a/lisp/window.el b/lisp/window.el index 4d02390be16..ef9dd5d896d 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -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.