From eb14d4267de234ab19fbd1f8a9c4275561ff4068 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 29 Feb 2008 03:12:27 +0000 Subject: [PATCH] (next_overlay_string): Don't set overlay_strings_at_end_processed_p if we're currently reading from a display string. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 209511a08b4..b93c151ed2b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4834,7 +4834,7 @@ next_overlay_string (it) /* If we're at the end of the buffer, record that we have processed the overlay strings there already, so that next_element_from_buffer doesn't try it again. */ - if (IT_CHARPOS (*it) >= it->end_charpos) + if (NILP (it->string) && IT_CHARPOS (*it) >= it->end_charpos) it->overlay_strings_at_end_processed_p = 1; /* If we have to display `...' for invisible text, set -- 2.39.2