Fix resizing of mini-windows by 'set-minibuffer-message'
* src/xdisp.c (redisplay_window): Always resize mini-windows displaying the active minibuffer. (Bug#60015)
This commit is contained in:
parent
5a245bc786
commit
c9015ef55f
1 changed files with 7 additions and 0 deletions
|
@ -19429,6 +19429,13 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
|
|||
blank_row (w, row, y);
|
||||
goto finish_scroll_bars;
|
||||
}
|
||||
else if (minibuf_level >= 1)
|
||||
{
|
||||
/* We could have a message produced by set-minibuffer-message
|
||||
displayed in the mini-window as an overlay, so resize the
|
||||
mini-window if needed. */
|
||||
resize_mini_window (w, false);
|
||||
}
|
||||
|
||||
clear_glyph_matrix (w->desired_matrix);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue