aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Rudalics2014-12-25 14:13:26 +0100
committerMartin Rudalics2014-12-25 14:13:26 +0100
commit000bc54951fc2c8f502176755fca53ca2b8aa9a4 (patch)
tree4edeaf2f351b10c30ba4f358ffacdfd298ef0019 /doc
parent437854dc5d9a6146b7095392e750112819b7e8a6 (diff)
downloademacs-000bc54951fc2c8f502176755fca53ca2b8aa9a4.tar.gz
emacs-000bc54951fc2c8f502176755fca53ca2b8aa9a4.zip
Make `resize-mini-windows' customizable and update documentation for it.
* cus-start.el (resize-mini-windows): Make it customizable. * minibuf.texi (Minibuffer Windows): Add descriptions of `resize-mini-windows' and `max-mini-window-height'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog3
-rw-r--r--doc/lispref/minibuf.texi27
2 files changed, 28 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index b74719cd029..2d964cf6505 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -2,6 +2,9 @@
2 2
3 * windows.texi (Windows): Resync @menu order with @node order. 3 * windows.texi (Windows): Resync @menu order with @node order.
4 4
5 * minibuf.texi (Minibuffer Windows): Add descriptions of
6 `resize-mini-windows' and `max-mini-window-height'.
7
52014-12-25 Glenn Morris <rgm@gnu.org> 82014-12-25 Glenn Morris <rgm@gnu.org>
6 9
7 * windows.texi (Windows): Sync @menu order with @node order. 10 * windows.texi (Windows): Sync @menu order with @node order.
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 1c6a74a89fd..57ae0e999b4 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -2218,8 +2218,8 @@ contents of the minibuffer before the point.
2218@section Minibuffer Windows 2218@section Minibuffer Windows
2219@cindex minibuffer windows 2219@cindex minibuffer windows
2220 2220
2221 These functions access and select minibuffer windows 2221These functions access and select minibuffer windows, test whether they
2222and test whether they are active. 2222are active and control how they get resized.
2223 2223
2224@defun active-minibuffer-window 2224@defun active-minibuffer-window
2225This function returns the currently active minibuffer window, or 2225This function returns the currently active minibuffer window, or
@@ -2260,6 +2260,29 @@ This function returns non-@code{nil} if @var{window} is the currently
2260active minibuffer window. 2260active minibuffer window.
2261@end defun 2261@end defun
2262 2262
2263The following two options control whether minibuffer windows are resized
2264automatically and how large they can get in the process.
2265
2266@defopt resize-mini-windows
2267This option specifies whether minibuffer windows are resized
2268automatically. The default value is @code{grow-only}, which means that
2269a minibuffer window by default expands automatically to accommodate the
2270text it displays and shrinks back to one line as soon as the minibuffer
2271gets empty. If the value is @code{t}, Emacs will always try to fit the
2272height of a minibuffer window to the text it displays (with a minimum of
2273one line). If the value is @code{nil}, a minibuffer window never
2274changes size automatically. In that case the window resizing commands
2275(@pxref{Resizing Windows}) can be used to adjust its height.
2276@end defopt
2277
2278@defopt max-mini-window-height
2279This option provides a maximum height for resizing minibuffer windows
2280automatically. A floating-point number specifies a fraction of the
2281frame's height; an integer specifies the maximum number of lines. The
2282default value is 0.25.
2283@end defopt
2284
2285
2263@node Minibuffer Contents 2286@node Minibuffer Contents
2264@section Minibuffer Contents 2287@section Minibuffer Contents
2265 2288