]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_motion): Fix, in a different way, the bug of handling
authorKenichi Handa <handa@m17n.org>
Fri, 8 May 1998 04:17:48 +0000 (04:17 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 8 May 1998 04:17:48 +0000 (04:17 +0000)
wide-column character around right margin.

src/indent.c

index 639cfdae818382de925fa2d9ee20d8a95b4255f4..b4dc11c13ccd490a81f91ebd2bf3b7483606cd66 100644 (file)
@@ -1259,8 +1259,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
       if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
        {
          if (contin_hpos && prev_hpos == 0
-             && ((hpos > tohpos && contin_hpos == width)
-                 || (wide_column_end_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