diff options
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index a8376af978f..5eaa80905a8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -16957,7 +16957,8 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) | |||
| 16957 | try_window (window, it.current.pos, 0); | 16957 | try_window (window, it.current.pos, 0); |
| 16958 | } | 16958 | } |
| 16959 | else if (scroll_conservatively > SCROLL_LIMIT | 16959 | else if (scroll_conservatively > SCROLL_LIMIT |
| 16960 | && it.method == GET_FROM_STRING | 16960 | && (it.method == GET_FROM_STRING |
| 16961 | || overlay_touches_p (IT_CHARPOS (it))) | ||
| 16961 | && IT_CHARPOS (it) < ZV) | 16962 | && IT_CHARPOS (it) < ZV) |
| 16962 | { | 16963 | { |
| 16963 | /* If the window starts with a before-string that spans more | 16964 | /* If the window starts with a before-string that spans more |
| @@ -16973,7 +16974,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) | |||
| 16973 | clear_glyph_matrix (w->desired_matrix); | 16974 | clear_glyph_matrix (w->desired_matrix); |
| 16974 | do { | 16975 | do { |
| 16975 | move_it_by_lines (&it, 1); | 16976 | move_it_by_lines (&it, 1); |
| 16976 | } while (IT_CHARPOS (it) == pos0 && it.method == GET_FROM_STRING); | 16977 | } while (IT_CHARPOS (it) == pos0); |
| 16977 | try_window (window, it.current.pos, 0); | 16978 | try_window (window, it.current.pos, 0); |
| 16978 | } | 16979 | } |
| 16979 | else | 16980 | else |