diff options
author | Clemens Radermacher <clemens.radermacher@posteo.de> | 2020-10-27 09:45:25 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2020-10-27 09:45:25 +0100 |
commit | e0de9f3295b4c46cb7198ec0b9634809d7b7a36d (patch) | |
tree | 037230e7376754295dbcc4bd18ec99980d7eeda5 /doc | |
parent | a4ec03fa9be8315fba1be1658654be98643498ea (diff) | |
download | emacs-e0de9f3295b4c46cb7198ec0b9634809d7b7a36d.tar.gz |
Don't skip empty lines when fitting mini frame to buffer (Bug#44080)
* lisp/window.el (fit-mini-frame-to-buffer,
window--resize-mini-frame, fit-frame-to-buffer,
fit-frame-to-buffer-1): By default, fit a mini frame without skipping its
buffer's leading or trailing empty lines.
* src/frame.c (resize-mini-frames): Update doc-string.
* lisp/cus-start.el (resize-mini-frames): Update for customize.
* doc/lispref/minibuf.texi (resize-mini-frames): Update description.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/minibuf.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index ecab882fed7..b955355dc0a 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi @@ -2445,8 +2445,10 @@ frame is the buffer whose contents will be shown the next time that window is redisplayed. The function is expected to fit the frame to the buffer in some appropriate way. -Any other non-@code{nil} value means to resize minibuffer-only frames -by calling @code{fit-frame-to-buffer} (@pxref{Resizing Windows}). +Any other non-@code{nil} value means to resize minibuffer-only frames by +calling @code{fit-mini-frame-to-buffer}, a function that behaves like +@code{fit-frame-to-buffer} (@pxref{Resizing Windows}) but does not strip +leading or trailing empty lines from the buffer text. @end defopt |