]> code.delx.au - gnu-emacs/commit
Fix redisplay with window-start on continuation lines
authorEli Zaretskii <eliz@gnu.org>
Tue, 5 Jul 2016 16:33:01 +0000 (19:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 5 Jul 2016 16:33:01 +0000 (19:33 +0300)
commit36e69bd82a0294b1f51d99a5eaf8e2c7661f7a16
tree44fa24196ce4ed77b0cdbb6a3bf10b986da6a7d5
parentc770dbb098a413b84b9f6d5afdc306d6c89c52cd
Fix redisplay with window-start on continuation lines

* src/xdisp.c (pos_visible_p): Return false if the window starts
after CHARPOS.
(compute_window_start_on_continuation_line): Don't return
window-start position that is after point in the buffer, as the
callers don't expect this to happen, and will generally display an
empty window with the cursor in its middle.  (Bug#23871)
src/xdisp.c