# HG changeset patch # User Richard M. Stallman # Date 1057610457 0 # Node ID bbc2db81b39e12176d0123be375f218c1ed8f847 # Parent 43d663a05e2d9113e816fc4f3d548d3137b6a14a (reseat_1): Set it->area to TEXT_AREA. diff -r 43d663a05e2d -r bbc2db81b39e src/xdisp.c --- 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 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;