changeset 80412:3aec81c35e11

(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 Mon, 31 Mar 2008 22:37:54 +0000
parents 79a438fa9fa6
children c807f3954942
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Mar 31 22:37:21 2008 +0000
+++ b/src/xdisp.c	Mon Mar 31 22:37:54 2008 +0000
@@ -4674,7 +4674,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