diff options
| author | Pavel Janík | 2001-12-09 00:57:28 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-12-09 00:57:28 +0000 |
| commit | 8a00d895352eca933714059751088b86b0215ffc (patch) | |
| tree | e22dd44a3034dffdfa6acf62cd4cc11b1f33df4b /src | |
| parent | 873232948609cec66905f04695de31bb0874132c (diff) | |
| download | emacs-8a00d895352eca933714059751088b86b0215ffc.tar.gz emacs-8a00d895352eca933714059751088b86b0215ffc.zip | |
(compute_motion): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index c869c624c66..402456e1685 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1262,7 +1262,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1262 | int newpos; | 1262 | int newpos; |
| 1263 | 1263 | ||
| 1264 | /* Don't skip invisible if we are already at the margin. */ | 1264 | /* Don't skip invisible if we are already at the margin. */ |
| 1265 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) | 1265 | if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos)) |
| 1266 | { | 1266 | { |
| 1267 | if (contin_hpos && prev_hpos == 0 | 1267 | if (contin_hpos && prev_hpos == 0 |
| 1268 | && hpos > tohpos | 1268 | && hpos > tohpos |
| @@ -1444,7 +1444,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1444 | break; | 1444 | break; |
| 1445 | } | 1445 | } |
| 1446 | 1446 | ||
| 1447 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) | 1447 | if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos)) |
| 1448 | { | 1448 | { |
| 1449 | if (contin_hpos && prev_hpos == 0 | 1449 | if (contin_hpos && prev_hpos == 0 |
| 1450 | && hpos > tohpos | 1450 | && hpos > tohpos |