diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-06-06 18:28:44 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-06-06 18:28:44 +0300 |
commit | e5ab25deaeb5daf58d2e3b0c990cd67e6020bb38 (patch) | |
tree | 581e449920bba48915918905bd040926868c65e1 /test/lisp/emacs-lisp/rmc-tests.el | |
parent | d20beef5f104909f765430e347f5f3711ea51149 (diff) | |
download | emacs-e5ab25deaeb5daf58d2e3b0c990cd67e6020bb38.tar.gz emacs-e5ab25deaeb5daf58d2e3b0c990cd67e6020bb38.tar.bz2 emacs-e5ab25deaeb5daf58d2e3b0c990cd67e6020bb38.zip |
Fix cursor movement by 'next-logical-line' after 'next-line'
* src/indent.c (Fvertical_motion): Adjust TO_X when line-numbers
are being displayed. Remove unneeded "correction" of TO_X at the
goal line.
* lisp/simple.el (last--line-number-width): Remove unneeded
variable.
(line-move-visual): Account for line-number display width by
adjusting the pixel X coordinate that gets converted into
canonical columns passed to vertical-motion, instead of adjusting
temporary-goal-column (which then affects next commands, including
next-logical-line). (Bug#31723)
Diffstat (limited to 'test/lisp/emacs-lisp/rmc-tests.el')
0 files changed, 0 insertions, 0 deletions