HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f980ec3
)
(compute_motion): If we just moved over a continuation
author
Andreas Schwab
<schwab@suse.de>
Fri, 27 Feb 1998 09:38:41 +0000
(09:38 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Fri, 27 Feb 1998 09:38:41 +0000
(09:38 +0000)
return contin_hpos as prevhpos.
src/indent.c
patch
|
blob
|
blame
|
history
diff --git
a/src/indent.c
b/src/indent.c
index
733272e
..
265fd07
100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-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;