From 5b606b4746d7513fe9b0d25a9d22b994dbdd05fb Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 30 Nov 2022 19:30:21 -0900 Subject: [PATCH] don't use linum face --- nlinum-relative.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nlinum-relative.el b/nlinum-relative.el index b60410a..86a1245 100644 --- a/nlinum-relative.el +++ b/nlinum-relative.el @@ -47,7 +47,7 @@ nlinum-releative will show the real line number at current line." ;;;; Faces (defface nlinum-relative-current-face - '((t :inherit linum :foreground "#CAE682" :background "#444444" :weight bold)) + '((t :inherit line-number :foreground "#CAE682" :background "#444444" :weight bold)) "Face for displaying current line." :group 'nlinum-relative) @@ -78,7 +78,7 @@ nlinum-releative will show the real line number at current line." (setq str (concat (make-string (- width (length str)) ?\ ) str))) (if is-current-line? (put-text-property 0 width 'face 'nlinum-relative-current-face str) - (put-text-property 0 width 'face 'linum str)) + (put-text-property 0 width 'face 'line-number str)) str)) "nlinum-relative to replace nlinum-format-function")