]> git.eshelyaron.com Git - emacs.git/commit
Fix relative-number display with non-nil display-line-number-width
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 Jun 2017 19:48:36 +0000 (22:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 Jun 2017 19:48:36 +0000 (22:48 +0300)
commita9be5a768b6c06e74a386c474aba8125dfc8ed86
tree1e54aa5d166cf5ed3942de70d31047f4e8cc6361
parente83b128a8195e5c63f12832decf70c2953821dc0
Fix relative-number display with non-nil display-line-number-width

* src/xdisp.c (maybe_produce_line_number): Don't treat a zero
value of display-line-number-width as acceptable.
Handle the case of 'relative' with display-line-number-width
non-nil and smaller than the absolute line number requires.
Reported by Alex <agrambot@gmail.com>.
src/xdisp.c