Fix 'move-to-window-line' when EOB is on last screen line
commitdefdee72c4de5e1aa4fc5c63b81983afc969769a
authorEli Zaretskii <eliz@gnu.org>
Mon, 27 Jun 2016 15:27:58 +0000 (27 18:27 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 27 Jun 2016 15:27:58 +0000 (27 18:27 +0300)
treea500f92aed9a3dda5b4d62ff06fc54792a943f47
parent8040d99b6294ad798d4ab677ba20082b45fd2e7d
Fix 'move-to-window-line' when EOB is on last screen line

* src/window.c (displayed_window_lines): Fix an off-by-one error
when the bottom of the last display line is exactly at window's
last pixel.  Remove kludgey fix for TTY frames that is no longer
needed.  (Bug#15760)
(Fmove_to_window_line): Doc fix.

* doc/lispref/positions.texi (Screen Lines): Clarify and make more
accurate the documentation of 'move-to-window-line'.
doc/lispref/positions.texi
src/window.c