Use locate-library to detect display-line-numbers

Now that display-line-numbers is polyfilled, a boundp check is useless.
This commit is contained in:
Henrik Lissner 2018-08-21 04:32:27 +02:00
parent 62977247c9
commit 9e08620350
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,5 +1,5 @@
;;; core/autoload/line-numbers.el -*- lexical-binding: t; -*-
;;;###if (not (boundp 'display-line-numbers))
;;;###if (not (locate-library "display-line-numbers"))
;; This was lifted out of the display-line-numbers library in Emacs 26.1 and
;; modified to use nlinum for Emacs 25.x users. It should be removed should