mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(compute_motion): If we just moved over a continuation
return contin_hpos as prevhpos.
This commit is contained in:
parent
f980ec39f6
commit
ef3af330d2
1 changed files with 4 additions and 1 deletions
|
|
@ -1467,7 +1467,10 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
|
|||
val_compute_motion.bytepos = pos_byte;
|
||||
val_compute_motion.hpos = hpos;
|
||||
val_compute_motion.vpos = vpos;
|
||||
val_compute_motion.prevhpos = prev_hpos;
|
||||
if (contin_hpos && prev_hpos == 0)
|
||||
val_compute_motion.prevhpos = contin_hpos;
|
||||
else
|
||||
val_compute_motion.prevhpos = prev_hpos;
|
||||
/* We alalways handle all of them here; none of them remain to do. */
|
||||
val_compute_motion.ovstring_chars_done = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue