From 3977f0437fcd86bc08282d48b46edcc4195b4880 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 31 Mar 2008 22:37:54 +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 7a64b9743da..f20aaedd2f7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4674,7 +4674,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