aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-05-30 04:32:09 +0000
committerRichard M. Stallman2006-05-30 04:32:09 +0000
commit1cce8267f8efd17dfe231aacc53c0873f0c5233d (patch)
tree5759d3317588b95113d51750a0941ece47d45273
parent749eecf52710ddefecfd07ab7e730fcc0132a8c0 (diff)
downloademacs-1cce8267f8efd17dfe231aacc53c0873f0c5233d.tar.gz
emacs-1cce8267f8efd17dfe231aacc53c0873f0c5233d.zip
(fit-window-to-buffer): Doc fix.
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
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."
597 (1+ (vertical-motion (buffer-size) window)))))) 597 (1+ (vertical-motion (buffer-size) window))))))
598 598
599(defun fit-window-to-buffer (&optional window max-height min-height) 599(defun fit-window-to-buffer (&optional window max-height min-height)
600 "Make WINDOW the right size to display its contents exactly. 600 "Make WINDOW the right height to display its contents exactly.
601If WINDOW is omitted or nil, it defaults to the selected window. 601If WINDOW is omitted or nil, it defaults to the selected window.
602If the optional argument MAX-HEIGHT is supplied, it is the maximum height 602If the optional argument MAX-HEIGHT is supplied, it is the maximum height
603 the window is allowed to be, defaulting to the frame height. 603 the window is allowed to be, defaulting to the frame height.