Mercurial > emacs
changeset 71083:073af3c41750
(fit-window-to-buffer): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 30 May 2006 04:32:09 +0000 |
parents | 2a24c2deed9a |
children | ccef92f2f7f8 |
files | lisp/window.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/window.el Tue May 30 04:31:02 2006 +0000 +++ b/lisp/window.el Tue May 30 04:32:09 2006 +0000 @@ -597,7 +597,7 @@ (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.