aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-02-29 03:12:27 +0000
committerChong Yidong2008-02-29 03:12:27 +0000
commiteb14d4267de234ab19fbd1f8a9c4275561ff4068 (patch)
tree51598d85ba107f6689ed903b87ab10f5e7f32c79 /src
parent60221a3323356a8c76f9c3f2f1043a2de84bfeb5 (diff)
downloademacs-eb14d4267de234ab19fbd1f8a9c4275561ff4068.tar.gz
emacs-eb14d4267de234ab19fbd1f8a9c4275561ff4068.zip
(next_overlay_string): Don't set overlay_strings_at_end_processed_p if
we're currently reading from a display string.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 209511a08b4..b93c151ed2b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4834,7 +4834,7 @@ next_overlay_string (it)
4834 /* If we're at the end of the buffer, record that we have 4834 /* If we're at the end of the buffer, record that we have
4835 processed the overlay strings there already, so that 4835 processed the overlay strings there already, so that
4836 next_element_from_buffer doesn't try it again. */ 4836 next_element_from_buffer doesn't try it again. */
4837 if (IT_CHARPOS (*it) >= it->end_charpos) 4837 if (NILP (it->string) && IT_CHARPOS (*it) >= it->end_charpos)
4838 it->overlay_strings_at_end_processed_p = 1; 4838 it->overlay_strings_at_end_processed_p = 1;
4839 4839
4840 /* If we have to display `...' for invisible text, set 4840 /* If we have to display `...' for invisible text, set