From 9e08620350add4359fa9b64ab392673203079444 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 21 Aug 2018 04:32:27 +0200 Subject: [PATCH] Use locate-library to detect display-line-numbers Now that display-line-numbers is polyfilled, a boundp check is useless. --- core/autoload/line-numbers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoload/line-numbers.el b/core/autoload/line-numbers.el index 576cf61b5..cf5985093 100644 --- a/core/autoload/line-numbers.el +++ b/core/autoload/line-numbers.el @@ -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