diff options
| author | Eli Zaretskii | 2018-02-09 12:28:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-02-09 12:28:59 +0200 |
| commit | 989d0afce9701fb3409f5d53f0e47460be709e0e (patch) | |
| tree | 70b783ddb32c1be369841494662e5ff5d768b07f | |
| parent | 923e4157baebf026910bd37b3cb5099b6aff7b3f (diff) | |
| download | emacs-989d0afce9701fb3409f5d53f0e47460be709e0e.tar.gz emacs-989d0afce9701fb3409f5d53f0e47460be709e0e.zip | |
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.
| -rw-r--r-- | doc/lispref/display.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index fbf943a08c7..7bf03b8558e 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -581,7 +581,7 @@ truncated to fit it. | |||
| 581 | The variable @code{max-mini-window-height}, which specifies the | 581 | The variable @code{max-mini-window-height}, which specifies the |
| 582 | maximum height for resizing minibuffer windows, also applies to the | 582 | maximum height for resizing minibuffer windows, also applies to the |
| 583 | echo area (which is really a special use of the minibuffer window; | 583 | echo area (which is really a special use of the minibuffer window; |
| 584 | @pxref{Minibuffer Misc}). | 584 | @pxref{Minibuffer Windows}). |
| 585 | 585 | ||
| 586 | @node Warnings | 586 | @node Warnings |
| 587 | @section Reporting Warnings | 587 | @section Reporting Warnings |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 332e72f6402..c7f8ba96e2f 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2323,6 +2323,12 @@ frame's height; an integer specifies the maximum number of lines. The | |||
| 2323 | default value is 0.25. | 2323 | default value is 0.25. |
| 2324 | @end defopt | 2324 | @end defopt |
| 2325 | 2325 | ||
| 2326 | Note that the values of the above two variables take effect at display | ||
| 2327 | time, so let-binding them around code which produces echo-area messages | ||
| 2328 | will not work. If you want to prevent resizing of minibuffer windows | ||
| 2329 | when displaying long messages, bind the @code{message-truncate-lines} | ||
| 2330 | variable instead (@pxref{Echo Area Customization}). | ||
| 2331 | |||
| 2326 | 2332 | ||
| 2327 | @node Minibuffer Contents | 2333 | @node Minibuffer Contents |
| 2328 | @section Minibuffer Contents | 2334 | @section Minibuffer Contents |
| @@ -2450,12 +2456,6 @@ minibuffer window was selected. If the selected window is not a | |||
| 2450 | minibuffer window, it returns @code{nil}. | 2456 | minibuffer window, it returns @code{nil}. |
| 2451 | @end defun | 2457 | @end defun |
| 2452 | 2458 | ||
| 2453 | @defopt max-mini-window-height | ||
| 2454 | This variable specifies the maximum height for resizing minibuffer | ||
| 2455 | windows. If a float, it specifies a fraction of the height of the | ||
| 2456 | frame. If an integer, it specifies a number of lines. | ||
| 2457 | @end defopt | ||
| 2458 | |||
| 2459 | @vindex minibuffer-message-timeout | 2459 | @vindex minibuffer-message-timeout |
| 2460 | @defun minibuffer-message string &rest args | 2460 | @defun minibuffer-message string &rest args |
| 2461 | This function displays @var{string} temporarily at the end of the | 2461 | This function displays @var{string} temporarily at the end of the |