Fix bug #17244 with line-move-visual when display string covers a lot of text.
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Apr 2014 11:21:47 +0000 (14:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Apr 2014 11:21:47 +0000 (14:21 +0300)
commit180c8ce0c6a702bc21403e1f5a0b2781bb5f787c
tree80579c3d79dd86e3580f587055eb9a4587830a7f
parent204db02a2b8826a72d49edd1ca8d32d6d33478c8
Fix bug #17244 with line-move-visual when display string covers a lot of text.

 src/xdisp.c (move_it_by_lines): If a large portion of buffer text is
 covered by a display string that ends in a newline, and that cases
 going back by DVPOS lines to hit the search limit, lift the limit
 and go back until DVPOS is reached.
 src/indent.c (Fvertical_motion): Handle correctly the case when the
 display string is preceded by an empty line.
src/ChangeLog
src/indent.c
src/xdisp.c