mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 04:09:37 +00:00
Improve documentation of mini-window resizing
* doc/lispref/minibuf.texi (Minibuffer Windows): Mention 'message-truncate-lines' for preventing resizing of minibuffer windows. (Bug#19045) (Minibuffer Misc): Remove redundant description of 'max-mini-window-height'. * doc/lispref/display.texi (Echo Area Customization): Adjust cross-reference.
This commit is contained in:
parent
923e4157ba
commit
989d0afce9
2 changed files with 7 additions and 7 deletions
|
@ -581,7 +581,7 @@ truncated to fit it.
|
||||||
The variable @code{max-mini-window-height}, which specifies the
|
The variable @code{max-mini-window-height}, which specifies the
|
||||||
maximum height for resizing minibuffer windows, also applies to the
|
maximum height for resizing minibuffer windows, also applies to the
|
||||||
echo area (which is really a special use of the minibuffer window;
|
echo area (which is really a special use of the minibuffer window;
|
||||||
@pxref{Minibuffer Misc}).
|
@pxref{Minibuffer Windows}).
|
||||||
|
|
||||||
@node Warnings
|
@node Warnings
|
||||||
@section Reporting Warnings
|
@section Reporting Warnings
|
||||||
|
|
|
@ -2323,6 +2323,12 @@ frame's height; an integer specifies the maximum number of lines. The
|
||||||
default value is 0.25.
|
default value is 0.25.
|
||||||
@end defopt
|
@end defopt
|
||||||
|
|
||||||
|
Note that the values of the above two variables take effect at display
|
||||||
|
time, so let-binding them around code which produces echo-area messages
|
||||||
|
will not work. If you want to prevent resizing of minibuffer windows
|
||||||
|
when displaying long messages, bind the @code{message-truncate-lines}
|
||||||
|
variable instead (@pxref{Echo Area Customization}).
|
||||||
|
|
||||||
|
|
||||||
@node Minibuffer Contents
|
@node Minibuffer Contents
|
||||||
@section Minibuffer Contents
|
@section Minibuffer Contents
|
||||||
|
@ -2450,12 +2456,6 @@ minibuffer window was selected. If the selected window is not a
|
||||||
minibuffer window, it returns @code{nil}.
|
minibuffer window, it returns @code{nil}.
|
||||||
@end defun
|
@end defun
|
||||||
|
|
||||||
@defopt max-mini-window-height
|
|
||||||
This variable specifies the maximum height for resizing minibuffer
|
|
||||||
windows. If a float, it specifies a fraction of the height of the
|
|
||||||
frame. If an integer, it specifies a number of lines.
|
|
||||||
@end defopt
|
|
||||||
|
|
||||||
@vindex minibuffer-message-timeout
|
@vindex minibuffer-message-timeout
|
||||||
@defun minibuffer-message string &rest args
|
@defun minibuffer-message string &rest args
|
||||||
This function displays @var{string} temporarily at the end of the
|
This function displays @var{string} temporarily at the end of the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue