From: Kenichi Handa Date: Sat, 9 May 1998 01:23:58 +0000 (+0000) Subject: Fix previous change. X-Git-Tag: emacs-20.3~1077 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9129bcc3bdf34399e6d30f1c02bc7414246dc5fe;p=emacs.git Fix previous change. --- diff --git a/src/indent.c b/src/indent.c index 6ca70c744f4..047f9e82262 100644 --- a/src/indent.c +++ b/src/indent.c @@ -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