Fix bug #15090 with redisplay under linum-mode and visual-line-mode.
commitd39a3da6f3df4ff3c08e5b68fe629e10d1b8f3ea
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Aug 2013 15:20:03 +0000 (15 18:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Aug 2013 15:20:03 +0000 (15 18:20 +0300)
tree1ead9db11e0da3c8649a422bc23587e47353aefb
parent6e856b69ffea045be4efe029ecbb44df7fd4da21
Fix bug #15090 with redisplay under linum-mode and visual-line-mode.

 src/xdisp.c (compute_window_start_on_continuation_line): When
 WORD_WRAP is in effect, use move_it_to instead of move_it_by_lines
 to make sure we end up setting the window start at the leftmost
 visible character of the display line.  This avoids funky
 horizontal shifting because the window start is not kept on the
 same position.
src/ChangeLog
src/xdisp.c