Avoid off-by-one errors in column C-n/C-p calculations
commit4c9353a5840b285631a86a5bad2b48ea6276abf3
authorEli Zaretskii <eliz@gnu.org>
Sun, 2 Jul 2017 15:01:39 +0000 (2 18:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 2 Jul 2017 15:01:39 +0000 (2 18:01 +0300)
treecab569e2b2ed396ca5258c33a5b29ecf20fee73c
parentb5ce3100a8549df519d6f2b577fe7c3acf90cb40
Avoid off-by-one errors in column C-n/C-p calculations

* src/indent.c (Fvertical_motion): Help C-n/C-p estimate correctly
the width used up by line numbers by looking near the window-start
point.
src/indent.c