aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-03-19 02:58:21 +0000
committerChong Yidong2009-03-19 02:58:21 +0000
commit11fb10def408a78a59916c2b524d81f7fd8de6df (patch)
tree6f456ff1b3f66366ccff32cffe9daf40165a6c4c /src
parentbfa49dd1ad179ae2da8a5bfbc8ff7ed40251cd50 (diff)
downloademacs-11fb10def408a78a59916c2b524d81f7fd8de6df.tar.gz
emacs-11fb10def408a78a59916c2b524d81f7fd8de6df.zip
(Fvertical_motion): Undo 2005-01-19 change (Bug#2694).
Diffstat (limited to 'src')
-rw-r--r--src/indent.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/indent.c b/src/indent.c
index 8c6c52358ff..f10b235427e 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2094,14 +2094,11 @@ whether or not it is currently displayed in some window. */)
2094 reseat_at_previous_visible_line_start (&it); 2094 reseat_at_previous_visible_line_start (&it);
2095 it.current_x = it.hpos = 0; 2095 it.current_x = it.hpos = 0;
2096 if (IT_CHARPOS (it) != PT) 2096 if (IT_CHARPOS (it) != PT)
2097 { 2097 /* We used to temporarily disable selective display here; the
2098 int oselective = it.selective; 2098 comment said this is "so we don't move too far" (2005-01-19
2099 /* Temporarily disable selective display so we don't move 2099 checkin by kfs). But this does nothing useful that I can
2100 too far */ 2100 tell, and it causes Bug#2694 . -- cyd */
2101 it.selective = 0; 2101 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
2102 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
2103 it.selective = oselective;
2104 }
2105 2102
2106 if (XINT (lines) <= 0) 2103 if (XINT (lines) <= 0)
2107 { 2104 {