From: Kenichi Handa Date: Fri, 8 May 1998 04:17:48 +0000 (+0000) Subject: (compute_motion): Fix, in a different way, the bug of handling X-Git-Tag: emacs-20.3~1082 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c38bd4283991629d6b1fbade919be1006e984108;p=emacs.git (compute_motion): Fix, in a different way, the bug of handling wide-column character around right margin. --- diff --git a/src/indent.c b/src/indent.c index 639cfdae818..b4dc11c13cc 100644 --- a/src/indent.c +++ b/src/indent.c @@ -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