Fix last change in resize_mini_window
* src/xdisp.c (resize_mini_window): Prevent recentering the mini-window once its start position is computed. (Bug#43572)
This commit is contained in:
parent
7e7a010d85
commit
897ea41d39
1 changed files with 3 additions and 0 deletions
|
@ -11820,6 +11820,9 @@ resize_mini_window (struct window *w, bool exact_p)
|
|||
such as user prompt, will be hidden from view. */
|
||||
move_it_by_lines (&it, 0);
|
||||
start = it.current.pos;
|
||||
/* Prevent redisplay_window from recentering, and thus from
|
||||
overriding the window-start point we computed here. */
|
||||
w->start_at_line_beg = false;
|
||||
}
|
||||
else
|
||||
SET_TEXT_POS (start, BEGV, BEGV_BYTE);
|
||||
|
|
Loading…
Add table
Reference in a new issue