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:
parent
9648aa4093
commit
24686948c2
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue