aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ce049ebfc84..9abbe450d3d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12011-10-19 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (start_display): If the character at POS is displayed
4 via a display vector, reset IT->current.dpvec_index to zero.
5 (Bug#9771, part 2)
6
12011-10-18 Chong Yidong <cyd@gnu.org> 72011-10-18 Chong Yidong <cyd@gnu.org>
2 8
3 * xdisp.c (get_next_display_element): Handle U+2010 and U+2011 9 * xdisp.c (get_next_display_element): Handle U+2010 and U+2011
diff --git a/src/xdisp.c b/src/xdisp.c
index 75763616f72..50ddd6b08b8 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2851,6 +2851,13 @@ start_display (struct it *it, struct window *w, struct text_pos pos)
2851 2851
2852 it->continuation_lines_width += it->current_x; 2852 it->continuation_lines_width += it->current_x;
2853 } 2853 }
2854 /* If the character at POS is displayed via a display
2855 vector, move_it_to above stops at the final glyph of
2856 IT->dpvec. To make the caller redisplay that character
2857 again (a.k.a. start at POS), we need to reset the
2858 dpvec_index to the beginning of IT->dpvec. */
2859 else if (it->current.dpvec_index >= 0)
2860 it->current.dpvec_index = 0;
2854 2861
2855 /* We're starting a new display line, not affected by the 2862 /* We're starting a new display line, not affected by the
2856 height of the continued line, so clear the appropriate 2863 height of the continued line, so clear the appropriate