Refactor detection of native display-line-numbers

This commit is contained in:
Henrik Lissner 2018-08-21 04:10:18 +02:00
parent da7f9019d1
commit 9a4cce8d9a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 6 additions and 4 deletions

View file

@ -26,6 +26,8 @@ relative number of a line.
Lisp programs can disable display of a line number of a particular
buffer line by putting the display-line-numbers-disable text property
or overlay property on the first visible character of that line.")
;;;###autoload
(put 'display-line-numbers 'nlinum t)
;;;###autoload
(defcustom display-line-numbers-type t