# HG changeset patch # User Chong Yidong # Date 1237431501 0 # Node ID 6e3d4a3b0b107cd67a59261f6648c9577694ce80 # Parent d36aefcc41ba130fcf023da649c943bcf0cfa99b (Fvertical_motion): Undo 2005-01-19 change (Bug#2694). diff -r d36aefcc41ba -r 6e3d4a3b0b10 src/indent.c --- a/src/indent.c Thu Mar 19 02:58:13 2009 +0000 +++ b/src/indent.c Thu Mar 19 02:58:21 2009 +0000 @@ -2094,14 +2094,11 @@ reseat_at_previous_visible_line_start (&it); it.current_x = it.hpos = 0; if (IT_CHARPOS (it) != PT) - { - int oselective = it.selective; - /* Temporarily disable selective display so we don't move - too far */ - it.selective = 0; - move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); - it.selective = oselective; - } + /* We used to temporarily disable selective display here; the + comment said this is "so we don't move too far" (2005-01-19 + checkin by kfs). But this does nothing useful that I can + tell, and it causes Bug#2694 . -- cyd */ + move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); if (XINT (lines) <= 0) {