diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 47246d0690f..db0ec683159 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -15566,6 +15566,12 @@ redisplay_internal (void) | |||
| 15566 | if (it.current_x != this_line_start_x) | 15566 | if (it.current_x != this_line_start_x) |
| 15567 | goto cancel; | 15567 | goto cancel; |
| 15568 | 15568 | ||
| 15569 | /* Give up on this optimization if the line starts with a | ||
| 15570 | string with display property that draws on the fringes, | ||
| 15571 | as that might interfere with line-prefix display. */ | ||
| 15572 | if (it.sp > 1 | ||
| 15573 | && it.method == GET_FROM_IMAGE && it.image_id == -1) | ||
| 15574 | goto cancel; | ||
| 15569 | redisplay_trace ("trying display optimization 1\n"); | 15575 | redisplay_trace ("trying display optimization 1\n"); |
| 15570 | w->cursor.vpos = -1; | 15576 | w->cursor.vpos = -1; |
| 15571 | overlay_arrow_seen = false; | 15577 | overlay_arrow_seen = false; |