aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-05-08 00:08:09 +0000
committerKenichi Handa1998-05-08 00:08:09 +0000
commit4aa5eb5a429988ca6fffe4a0addb756f77a9d922 (patch)
tree282af526c3607b7fa5e8126254b255ea92409701 /src
parent36f8d564cd6f81211a792d3d64aa4252d67dda81 (diff)
downloademacs-4aa5eb5a429988ca6fffe4a0addb756f77a9d922.tar.gz
emacs-4aa5eb5a429988ca6fffe4a0addb756f77a9d922.zip
(compute_motion): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/indent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index fa1dc0a2932..8f29b9cc24f 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1225,7 +1225,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
1225 /* Stop if past the target buffer position or screen position. */ 1225 /* Stop if past the target buffer position or screen position. */
1226 if (pos > to 1226 if (pos > to
1227 || vpos > tovpos 1227 || vpos > tovpos
1228 || vpos == tovpos && hpos > tohpos) 1228 || vpos == tovpos && tohpos >= 0 && hpos > tohpos)
1229 { 1229 {
1230 /* Go back to the previous position. */ 1230 /* Go back to the previous position. */
1231 pos = prev_pos; 1231 pos = prev_pos;