aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index da05044a963..7d06ead0a69 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1141,6 +1141,9 @@ redisplay_window (window, just_this_one)
1141 /* Can't use this case if highlighting a region. */ 1141 /* Can't use this case if highlighting a region. */
1142 && !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active)) 1142 && !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active))
1143 && NILP (w->region_showing) 1143 && NILP (w->region_showing)
1144 /* If end pos is out of date, scroll bar and percentage will be wrong */
1145 && INTEGERP (w->window_end_vpos)
1146 && XFASTINT (w->window_end_vpos) < XFASTINT (w->height)
1144 && !EQ (window, minibuf_window)) 1147 && !EQ (window, minibuf_window))
1145 { 1148 {
1146 pos = *compute_motion (startp, 0, (hscroll ? 1 - hscroll : 0), 1149 pos = *compute_motion (startp, 0, (hscroll ? 1 - hscroll : 0),