mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/fci: fix invalid-face: line-number error #738
The line-number face was introduced in Emacs 26 and will cause this error in earlier versions.
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
;;; ui/fci/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +fci-rule-color-function
|
||||
(lambda () (face-foreground 'line-number))
|
||||
(if EMACS26+
|
||||
(lambda () (face-foreground 'line-number))
|
||||
(lambda () (face-foreground 'font-lock-comment-face)))
|
||||
"Color used to draw the fill-column rule.
|
||||
|
||||
Accepts a color string or a function that returns a color.
|
||||
|
Reference in New Issue
Block a user