]> code.delx.au - gnu-emacs/commit
Speed up vertical-motion when screen coordinates are known
authorEli Zaretskii <eliz@gnu.org>
Mon, 9 Feb 2015 16:24:46 +0000 (18:24 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 9 Feb 2015 16:24:46 +0000 (18:24 +0200)
commit403cb178c75a80603dbd8ed23e342d2109645401
tree815315bef8212ed239805f13089612ebcef78a82
parentaf560cd6f15e7cc7e42bff5b3c802b9d1d1640b5
Speed up vertical-motion when screen coordinates are known

 src/indent.c (Fvertical_motion): Accept an additional argument
 CUR-COL and use it as the starting screen coordinate.
 src/window.c (window_scroll_line_based, Fmove_to_window_line): All
 callers of vertical-motion changed.

 doc/lispref/positions.texi (Screen Lines): Update the documentation of
 vertical-motion to document the new additional argument.
doc/lispref/ChangeLog
doc/lispref/positions.texi
src/ChangeLog
src/indent.c
src/window.c