]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous change.
authorKenichi Handa <handa@m17n.org>
Sat, 9 May 1998 01:23:58 +0000 (01:23 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 9 May 1998 01:23:58 +0000 (01:23 +0000)
src/indent.c

index 6ca70c744f42843e268c28df315ef7576774dfc8..047f9e822625e4235dd9189a393eb5e8bc6dd6d0 100644 (file)
@@ -1260,7 +1260,8 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
       if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
        {
          if (contin_hpos && prev_hpos == 0
-             && wide_column_end_hpos > width)
+             && hpos > tohpos
+             && (contin_hpos == width || wide_column_end_hpos > width))
            { /* 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