diff options
| author | Clemens Radermacher | 2020-10-27 09:45:25 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2020-10-27 09:45:25 +0100 |
| commit | e0de9f3295b4c46cb7198ec0b9634809d7b7a36d (patch) | |
| tree | 037230e7376754295dbcc4bd18ec99980d7eeda5 /src | |
| parent | a4ec03fa9be8315fba1be1658654be98643498ea (diff) | |
| download | emacs-e0de9f3295b4c46cb7198ec0b9634809d7b7a36d.tar.gz emacs-e0de9f3295b4c46cb7198ec0b9634809d7b7a36d.zip | |
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 'src')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 255606957c2..adcc489a406 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -6204,7 +6204,7 @@ window of that frame is the buffer whose text will be eventually shown | |||
| 6204 | in the minibuffer window. | 6204 | in the minibuffer window. |
| 6205 | 6205 | ||
| 6206 | Any other non-nil value means to resize minibuffer-only frames by | 6206 | Any other non-nil value means to resize minibuffer-only frames by |
| 6207 | calling `fit-frame-to-buffer'. */); | 6207 | calling `fit-mini-frame-to-buffer'. */); |
| 6208 | resize_mini_frames = Qnil; | 6208 | resize_mini_frames = Qnil; |
| 6209 | 6209 | ||
| 6210 | DEFVAR_LISP ("focus-follows-mouse", focus_follows_mouse, | 6210 | DEFVAR_LISP ("focus-follows-mouse", focus_follows_mouse, |