mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 00:51:50 -08:00
(set_iterator_to_next): Fix 2004-12-13 change.
Set stop_charpos to current charpos instead of 0.
This commit is contained in:
parent
f9a23a6f5b
commit
60227bf44e
1 changed files with 3 additions and 3 deletions
|
|
@ -5187,9 +5187,6 @@ set_iterator_to_next (it, reseat_p)
|
|||
it->dpvec = NULL;
|
||||
it->current.dpvec_index = -1;
|
||||
|
||||
/* Recheck faces after display vector */
|
||||
it->stop_charpos = 0;
|
||||
|
||||
/* Skip over characters which were displayed via IT->dpvec. */
|
||||
if (it->dpvec_char_len < 0)
|
||||
reseat_at_next_visible_line_start (it, 1);
|
||||
|
|
@ -5198,6 +5195,9 @@ set_iterator_to_next (it, reseat_p)
|
|||
it->len = it->dpvec_char_len;
|
||||
set_iterator_to_next (it, reseat_p);
|
||||
}
|
||||
|
||||
/* Recheck faces after display vector */
|
||||
it->stop_charpos = IT_CHARPOS (*it);
|
||||
}
|
||||
}
|
||||
else if (it->method == next_element_from_string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue