]> git.eshelyaron.com Git - emacs.git/commit
Allow Lisp program to disable line-number display for specific lines
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2017 13:58:01 +0000 (16:58 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2017 13:58:01 +0000 (16:58 +0300)
commit6e18841b17c9b7ca9f38b923db4195cade05da2e
treea57a1bb8e33cbb43f5af326aece7912d05b6a6d5
parent71a7294d0a775a8969ec077eb3633da6bdad7c62
Allow Lisp program to disable line-number display for specific lines

* etc/NEWS: Update the documentation.

* src/xdisp.c (syms_of_xdisp) <display-line-numbers-disable>: New
symbol.
(should_produce_line_number): New function.
(display_line): Use should_produce_line_number to determine
whether a line number should be produced for each glyph row.
etc/NEWS
src/xdisp.c