Fix vertical cursor motion from start of R2L lines in L2R paragraphs.
authorEli Zaretskii <eliz@gnu.org>
Sat, 27 Aug 2011 18:11:49 +0000 (21:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Aug 2011 18:11:49 +0000 (21:11 +0300)
commitdca4927e8bcf20b25dcdfb540c1d86c8caede458
tree2ed0bc5a8ea9577dece55b94bca26c912d92422d
parentb75258b32810f3690442bddef2e10eef126d2d25
Fix vertical cursor motion from start of R2L lines in L2R paragraphs.

 src/xdisp.c (move_it_to): Don't bail out early when reaching
 position beyond to_charpos, if we are scanning backwards.
 (move_it_vertically_backward): When DY == 0, make sure we get to
 the first character in the line after the newline.
src/ChangeLog
src/xdisp.c