aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-07 20:40:57 +0000
committerRichard M. Stallman2003-07-07 20:40:57 +0000
commit5905025ce48d3bb727000c4a7c5221737d9f48e8 (patch)
treec13db73285fb04a453c79cfb98bdf9d3e646cd1c /src
parente1e375966ecb9d48709c2717701e3fde80390307 (diff)
downloademacs-5905025ce48d3bb727000c4a7c5221737d9f48e8.tar.gz
emacs-5905025ce48d3bb727000c4a7c5221737d9f48e8.zip
(reseat_1): Set it->area to TEXT_AREA.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7584d55e69f..14b5d757b02 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4536,6 +4536,13 @@ reseat_1 (it, pos, set_stop_p)
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;