diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index ebeaf2a3dab..88e2db8956c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -18933,8 +18933,10 @@ set_vertical_scroll_bar (struct window *w) | |||
| 18933 | ptrdiff_t window_end_pos = w->window_end_pos; | 18933 | ptrdiff_t window_end_pos = w->window_end_pos; |
| 18934 | 18934 | ||
| 18935 | /* If w->window_end_pos cannot be trusted, recompute it "the | 18935 | /* If w->window_end_pos cannot be trusted, recompute it "the |
| 18936 | hard way". */ | 18936 | hard way". Unless W is a minibuffer window, in which case |
| 18937 | if (!w->window_end_valid) | 18937 | w->window_end_pos is specially set? (bug#56692) */ |
| 18938 | if (!MINI_WINDOW_P (w) | ||
| 18939 | && !w->window_end_valid) | ||
| 18938 | { | 18940 | { |
| 18939 | struct it it; | 18941 | struct it it; |
| 18940 | struct text_pos start_pos; | 18942 | struct text_pos start_pos; |