# HG changeset patch # User Richard M. Stallman # Date 870514217 0 # Node ID 0d238726e4c363629a31ebf4547ea40c011b1504 # Parent dfbef8117c6a051ee1f20b521a8de65f5e2b31c6 (compute_motion): Correct the criterion for when to move back 1 space when we terminate just after continuing the line. diff -r dfbef8117c6a -r 0d238726e4c3 src/indent.c --- a/src/indent.c Sat Aug 02 07:40:22 1997 +0000 +++ b/src/indent.c Sat Aug 02 09:30:17 1997 +0000 @@ -1152,7 +1152,7 @@ if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) { if (contin_hpos && prev_hpos == 0 - && (contin_hpos == width || wide_column)) + && ((hpos > tohpos && contin_hpos == width) || wide_column)) { /* Line breaks because we can't put the character at the previous line any more. It is not the multi-column character continued in middle. Go back to previous