Mercurial > emacs
changeset 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 | 43d663a05e2d |
children | 0a8de3bc39b5 |
files | src/xdisp.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Jul 07 20:39:40 2003 +0000 +++ b/src/xdisp.c Mon Jul 07 20:40:57 2003 +0000 @@ -4536,6 +4536,13 @@ 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;