1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 10:51:29 -08:00

(next_overlay_string): Don't set overlay_strings_at_end_processed_p if

we're currently reading from a display string.
This commit is contained in:
Chong Yidong 2008-03-31 22:37:54 +00:00
parent 66cfe827e1
commit 3977f0437f

View file

@ -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