]> 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>
Mon, 31 Mar 2008 22:37:54 +0000 (22:37 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 31 Mar 2008 22:37:54 +0000 (22:37 +0000)
we're currently reading from a display string.

src/xdisp.c

index 7a64b9743da3447701d4401b8b6f15bb1c5a9966..f20aaedd2f7936011ee5e7d7f32a2c0a00aef236 100644 (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