Mercurial > emacs
comparison src/xdisp.c @ 51789:bbc2db81b39e
(reseat_1): Set it->area to TEXT_AREA.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Jul 2003 20:40:57 +0000 |
parents | 0fecdab10707 |
children | bdec96ab4706 |
comparison
equal
deleted
inserted
replaced
51788:43d663a05e2d | 51789:bbc2db81b39e |
---|---|
4534 it->current.overlay_string_index = -1; | 4534 it->current.overlay_string_index = -1; |
4535 IT_STRING_CHARPOS (*it) = -1; | 4535 IT_STRING_CHARPOS (*it) = -1; |
4536 IT_STRING_BYTEPOS (*it) = -1; | 4536 IT_STRING_BYTEPOS (*it) = -1; |
4537 it->string = Qnil; | 4537 it->string = Qnil; |
4538 it->method = next_element_from_buffer; | 4538 it->method = next_element_from_buffer; |
4539 /* RMS: I added this to fix a bug in move_it_vertically_backward | |
4540 where it->area continued to relate to the starting point | |
4541 for the backward motion. Bug report from | |
4542 Nick Roberts <nick@nick.uklinux.net> on 19 May 2003. | |
4543 However, I am not sure whether reseat still does the right thing | |
4544 in general after this change. */ | |
4545 it->area = TEXT_AREA; | |
4539 it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters); | 4546 it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters); |
4540 it->sp = 0; | 4547 it->sp = 0; |
4541 it->face_before_selective_p = 0; | 4548 it->face_before_selective_p = 0; |
4542 | 4549 |
4543 if (set_stop_p) | 4550 if (set_stop_p) |