]> git.eshelyaron.com Git - emacs.git/commit
Allow to disable display of line numbers beyond EOB
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Jun 2017 17:53:05 +0000 (20:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Jun 2017 17:53:05 +0000 (20:53 +0300)
commit5d1025e7162db46b3c8d7c19facd8f9b9eff6f49
tree24040876a17ba2296b57b318e239c5436b273d1f
parent540669cda984f64964d7baeb7369d3eea424a34c
Allow to disable display of line numbers beyond EOB

* src/buffer.c (disable_line_numbers_overlay_at_eob): New
function.
* src/lisp.h (disable_line_numbers_overlay_at_eob): Add prototype.
* src/xdisp.c (should_produce_line_number): When at ZV, call
disable_line_numbers_overlay_at_eob to determine whether line
numbers should be displayed beyond ZV.
src/buffer.c
src/lisp.h
src/xdisp.c