aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2008-12-19 09:15:39 +0000
committerMartin Rudalics2008-12-19 09:15:39 +0000
commitdda87836a24cd189bb25709895101a6671612523 (patch)
treea9167a084db08d06f167a7e9eeb0d8aa63a2872b
parent6a705b232bc73d052cb53c213059814de2011e87 (diff)
downloademacs-dda87836a24cd189bb25709895101a6671612523.tar.gz
emacs-dda87836a24cd189bb25709895101a6671612523.zip
(Windows): Rewrite description of
fit-window-to-buffer.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/windows.texi20
2 files changed, 17 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 55cf4851b98..9b1b646f7f7 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12008-12-19 Martin Rudalics <rudalics@gmx.at>
2
3 * windows.texi (Windows): Rewrite description of
4 fit-window-to-buffer.
5
12008-12-13 Glenn Morris <rgm@gnu.org> 62008-12-13 Glenn Morris <rgm@gnu.org>
2 7
3 * modes.texi (Font Lock Basics): Fix level description. (Bug#1534) 8 * modes.texi (Font Lock Basics): Fix level description. (Bug#1534)
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index dc49c40db5c..8dd874f09b2 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2167,14 +2167,18 @@ function returns @code{nil}.
2167 2167
2168@defun fit-window-to-buffer &optional window max-height min-height 2168@defun fit-window-to-buffer &optional window max-height min-height
2169This function makes @var{window} the right height to display its 2169This function makes @var{window} the right height to display its
2170contents exactly. The default for @var{window} is the selected 2170contents exactly. The default for @var{window} is the selected window.
2171window. 2171
2172 2172The optional argument @var{max-height} specifies the maximum height the
2173The argument @var{max-height} specifies the maximum height the window 2173window is allowed to be; @code{nil} means use the maximum permissible
2174is allowed to be; @code{nil} means use the frame height. The argument 2174height of a window on @var{window}'s frame. The optional argument
2175@var{min-height} specifies the minimum height for the window; 2175@var{min-height} specifies the minimum height for the window; @code{nil}
2176@code{nil} means use @code{window-min-height}. All these height 2176means use @code{window-min-height}. All these height values include the
2177values include the mode line and/or header line. 2177mode line and/or header line.
2178
2179This function can delete windows when their height shrinks below
2180@var{min-height}. It returns non-@code{nil} if it orderly resized
2181@var{window}, and @code{nil} otherwise.
2178@end defun 2182@end defun
2179 2183
2180@deffn Command shrink-window-if-larger-than-buffer &optional window 2184@deffn Command shrink-window-if-larger-than-buffer &optional window