(reseat_1): Set it->area to TEXT_AREA.
This commit is contained in:
parent
e1e375966e
commit
5905025ce4
1 changed files with 7 additions and 0 deletions
|
@ -4536,6 +4536,13 @@ reseat_1 (it, pos, set_stop_p)
|
|||
IT_STRING_BYTEPOS (*it) = -1;
|
||||
it->string = Qnil;
|
||||
it->method = next_element_from_buffer;
|
||||
/* RMS: I added this to fix a bug in move_it_vertically_backward
|
||||
where it->area continued to relate to the starting point
|
||||
for the backward motion. Bug report from
|
||||
Nick Roberts <nick@nick.uklinux.net> on 19 May 2003.
|
||||
However, I am not sure whether reseat still does the right thing
|
||||
in general after this change. */
|
||||
it->area = TEXT_AREA;
|
||||
it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters);
|
||||
it->sp = 0;
|
||||
it->face_before_selective_p = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue