summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-03-19 02:58:21 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-03-19 02:58:21 +0000
commit7157b9f9cd2d9198831f5b23fd401c93dac5c264 (patch)
treea376a0a30fa9f6312394b9cdda7eec2e9b45cf07 /src
parent80ba2d135ce8f1657b8b3906567dc96ea73ef11d (diff)
downloademacs-7157b9f9cd2d9198831f5b23fd401c93dac5c264.tar.gz
(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. */)
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)
{