Mercurial > emacs
changeset 92331:ad3ad47174cb
(next_overlay_string): Don't set overlay_strings_at_end_processed_p if
we're currently reading from a display string.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 29 Feb 2008 03:12:27 +0000 |
parents | 43543d79f8b3 |
children | d0cadb012680 |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Feb 29 03:12:19 2008 +0000 +++ b/src/xdisp.c Fri Feb 29 03:12:27 2008 +0000 @@ -4834,7 +4834,7 @@ /* 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