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:
parent
62977247c9
commit
9e08620350
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue