diff options
| author | Kim F. Storm | 2004-12-13 14:27:56 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-12-13 14:27:56 +0000 |
| commit | 913c5633d7740b978f8a3df24dc6b15eb71f7084 (patch) | |
| tree | 7f1e4237002cc493fd5bed9e1e5a5df5aeeb1e35 /src | |
| parent | a6495ed551ba71c42f1b301dd29b5ae04722eb5d (diff) | |
| download | emacs-913c5633d7740b978f8a3df24dc6b15eb71f7084.tar.gz emacs-913c5633d7740b978f8a3df24dc6b15eb71f7084.zip | |
(set_iterator_to_next): Reset stop_charpos after display vector.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 491418d857a..b27b5e2e744 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5140,6 +5140,9 @@ set_iterator_to_next (it, reseat_p) | |||
| 5140 | it->dpvec = NULL; | 5140 | it->dpvec = NULL; |
| 5141 | it->current.dpvec_index = -1; | 5141 | it->current.dpvec_index = -1; |
| 5142 | 5142 | ||
| 5143 | /* Recheck faces after display vector */ | ||
| 5144 | it->stop_charpos = 0; | ||
| 5145 | |||
| 5143 | /* Skip over characters which were displayed via IT->dpvec. */ | 5146 | /* Skip over characters which were displayed via IT->dpvec. */ |
| 5144 | if (it->dpvec_char_len < 0) | 5147 | if (it->dpvec_char_len < 0) |
| 5145 | reseat_at_next_visible_line_start (it, 1); | 5148 | reseat_at_next_visible_line_start (it, 1); |