mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 16:10:46 -08:00
Fix bug#56692 questionably
* src/xdisp.c (set_vertical_scroll_bar): Don't recompute window end of a mini window. (bug#56692)
This commit is contained in:
parent
7220a5a09a
commit
82116a5ea3
1 changed files with 4 additions and 2 deletions
|
|
@ -18933,8 +18933,10 @@ set_vertical_scroll_bar (struct window *w)
|
|||
ptrdiff_t window_end_pos = w->window_end_pos;
|
||||
|
||||
/* If w->window_end_pos cannot be trusted, recompute it "the
|
||||
hard way". */
|
||||
if (!w->window_end_valid)
|
||||
hard way". Unless W is a minibuffer window, in which case
|
||||
w->window_end_pos is specially set? (bug#56692) */
|
||||
if (!MINI_WINDOW_P (w)
|
||||
&& !w->window_end_valid)
|
||||
{
|
||||
struct it it;
|
||||
struct text_pos start_pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue