Add a minor mode interface for display-line-numbers
commitebb78a7bfa3e6a87cfb53f1f2b17fc2f61add595
authorAlexander Gramiak <agrambot@gmail.com>
Sat, 22 Jul 2017 09:16:08 +0000 (22 12:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jul 2017 09:16:08 +0000 (22 12:16 +0300)
tree4a5e32ce7751b92194e349c5fa76489fd1ce0b6a
parent6d7e34b692edd61ac2f0872db521bcec321453cf
Add a minor mode interface for display-line-numbers

* lisp/cus-start.el: Use the new display-line-numbers group.
* lisp/display-line-numbers.el: New file.

* doc/emacs/custom.texi (Init Rebinding): Re-add entry that used to
belong to linum-mode.
* doc/emacs/modes.texi (Minor Modes): Summarize the mode.
* etc/NEWS: Document display-line-numbers-mode and its customization
variables, and mention that display-line-numbers-width is
buffer-local.

* src/xdisp.c (syms_of_xdisp) <display-line-numbers-width>: Fix a
typo.
doc/emacs/custom.texi
doc/emacs/modes.texi
etc/NEWS
lisp/cus-start.el
lisp/display-line-numbers.el [new file with mode: 0644]
src/xdisp.c