From 4c35618044f1658318cd5d1b6094090b0e35a875 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Feb 2019 17:29:40 -0500 Subject: [PATCH] Improve version check for line-numbers polyfill Since there are early versions of Emacs [26.0, 26.1) that don't have the new line numbers library. --- 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 10862f1fd..a926c0a2b 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 EMACS26+) +;;;###if (version< emacs-version "26.1") ;; 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