mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
;;; core/autoload/line-numbers.el -*- lexical-binding: t; -*-
|
;;; 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
|
;; 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
|
;; modified to use nlinum for Emacs 25.x users. It should be removed should
|
||||||
|
Reference in New Issue
Block a user