Fix bug #17047 with cursor motion when invisible text starts a line.
commit88c569ef11aa1d9e98bca49e7ac570942276eb3d
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Mar 2014 15:57:25 +0000 (23 17:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Mar 2014 15:57:25 +0000 (23 17:57 +0200)
tree618271f8246c930e9ecaa0006d8e1ddd48cf0216
parentf1e06f7bffc1407f7e597f714b2969fc6d1d8eed
Fix bug #17047 with cursor motion when invisible text starts a line.

 src/xdisp.c (redisplay_window): If all previous attempts to find the
 cursor row failed, try a few alternatives before falling back to
 the top-most row of the window.  Use row_containing_pos.
src/ChangeLog
src/xdisp.c