aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xdisp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a7802d5321b..e4c231c3083 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5187,9 +5187,6 @@ set_iterator_to_next (it, reseat_p)
5187 it->dpvec = NULL; 5187 it->dpvec = NULL;
5188 it->current.dpvec_index = -1; 5188 it->current.dpvec_index = -1;
5189 5189
5190 /* Recheck faces after display vector */
5191 it->stop_charpos = 0;
5192
5193 /* Skip over characters which were displayed via IT->dpvec. */ 5190 /* Skip over characters which were displayed via IT->dpvec. */
5194 if (it->dpvec_char_len < 0) 5191 if (it->dpvec_char_len < 0)
5195 reseat_at_next_visible_line_start (it, 1); 5192 reseat_at_next_visible_line_start (it, 1);
@@ -5198,6 +5195,9 @@ set_iterator_to_next (it, reseat_p)
5198 it->len = it->dpvec_char_len; 5195 it->len = it->dpvec_char_len;
5199 set_iterator_to_next (it, reseat_p); 5196 set_iterator_to_next (it, reseat_p);
5200 } 5197 }
5198
5199 /* Recheck faces after display vector */
5200 it->stop_charpos = IT_CHARPOS (*it);
5201 } 5201 }
5202 } 5202 }
5203 else if (it->method == next_element_from_string) 5203 else if (it->method == next_element_from_string)