]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #11261 with cursor movement in a continued line when header line is present.
authorEli Zaretskii <eliz@gnu.org>
Tue, 17 Apr 2012 15:25:17 +0000 (18:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 17 Apr 2012 15:25:17 +0000 (18:25 +0300)
commit20a68157367994c17c0e5adae02568ea4683d13d
tree7ec59ef6893f34ce24fdb80389decdf07120b877
parent2c070447bfad37262d292fe130db7db22da822fb
Fix bug #11261 with cursor movement in a continued line when header line is present.

 src/xdisp.c (string_buffer_position_lim): Limit starting position to BEGV.
 (set_cursor_from_row): If called for a mode-line or header-line
 row, return zero immediately.
 (try_cursor_movement): If inside continuation line, don't back up
 farther than the first row after the header line, if any.  Don't
 consider the header-line row as "partially visible", even if
 MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero.
src/ChangeLog
src/xdisp.c