emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/spacemacs-theme 71bddf98da 221/336: Merge pull request #90


From: ELPA Syncer
Subject: [nongnu] elpa/spacemacs-theme 71bddf98da 221/336: Merge pull request #90 from chasinglogic/emacs-26
Date: Fri, 14 Jan 2022 10:59:38 -0500 (EST)

branch: elpa/spacemacs-theme
commit 71bddf98da5ac651b7fe847f9f02c4c35ef1bd4e
Merge: 7900aca87f 8cf00e74ae
Author: Nasser Alshammari <designernasser@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #90 from chasinglogic/emacs-26
    
    Add support for Emacs 26 display-line-numbers-mode
---
 spacemacs-common.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spacemacs-common.el b/spacemacs-common.el
index 760d34dc30..a6fbdddf28 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -515,6 +515,10 @@ to 'auto, tags may not be properly aligned. "
 ;;;;; linum-mode
      `(linum ((,class (:foreground ,lnum :background ,bg2))))
 
+;;;;; line-numbers-mode (Emacs 26+)
+     (when (>= emacs-major-version 26)
+       `(line-number ((,class (:foreground ,lnum :background ,bg2)))))
+
 ;;;;; linum-relative
      `(linum-relative-current-face ((,class (:foreground ,comp))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]