Emacs: Only use fill-column-indicator foreground in Emacs >= 27.
This commit is contained in:
parent
343130ce02
commit
eabc35c0b4
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-04-17T13:53:16+0200>
|
||||
;; Time-stamp: <2020-04-20T02:03:53+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -46,7 +46,8 @@
|
|||
(face-background 'default))
|
||||
(set-face-foreground 'ruler-mode-column-number
|
||||
(face-background 'default))
|
||||
(if (window-system)
|
||||
(if (and (window-system)
|
||||
(>= emacs-major-version 27))
|
||||
(set-face-foreground 'ruler-mode-fill-column
|
||||
(face-foreground 'fill-column-indicator
|
||||
nil t))
|
||||
|
|
Loading…
Reference in New Issue
Block a user