]> git.eshelyaron.com Git - emacs.git/commitdiff
(next_overlay_string): Don't set overlay_strings_at_end_processed_p if
authorChong Yidong <cyd@stupidchicken.com>
Fri, 29 Feb 2008 03:12:27 +0000 (03:12 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 29 Feb 2008 03:12:27 +0000 (03:12 +0000)
we're currently reading from a display string.

src/xdisp.c

index 209511a08b4e7923de24433f04622d9757541293..b93c151ed2bd9056fac5725ae1cbdcc469ed16b8 100644 (file)
@@ -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