diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-07-07 12:21:10 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-07-07 12:21:10 +0300 |
commit | 4caf65d4de591089c82ccf542a31ea5009a3c717 (patch) | |
tree | 540c37b0e457351a6840d1060692569b1e6ac2e3 /ChangeLog.1 | |
parent | 25bc3911615d1160d47287c023545c6e0587739f (diff) | |
download | emacs-4caf65d4de591089c82ccf542a31ea5009a3c717.tar.gz |
Fix vertical-motion across the place where line-number width changes
* src/indent.c (line_number_display_width): New function,
refactored from line-number width calculations in vertical-motion.
(Fvertical_motion): Call line_number_display_width when the width
of line-number display is needed.
(Fline_number_display_width): New defun.
(syms_of_indent): Defsubr it.
* doc/lispref/display.texi (Size of Displayed Text): Document
line-number-display-width.
* etc/NEWS: Mention line-number-display-width.
* lisp/simple.el (last--line-number-width): New internal variable.
(line-move-visual): Use it to adjust temporary-goal-column when
line-number display changes its width.
Diffstat (limited to 'ChangeLog.1')
0 files changed, 0 insertions, 0 deletions