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; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -46,7 +46,8 @@
|
||||||
(face-background 'default))
|
(face-background 'default))
|
||||||
(set-face-foreground 'ruler-mode-column-number
|
(set-face-foreground 'ruler-mode-column-number
|
||||||
(face-background 'default))
|
(face-background 'default))
|
||||||
(if (window-system)
|
(if (and (window-system)
|
||||||
|
(>= emacs-major-version 27))
|
||||||
(set-face-foreground 'ruler-mode-fill-column
|
(set-face-foreground 'ruler-mode-fill-column
|
||||||
(face-foreground 'fill-column-indicator
|
(face-foreground 'fill-column-indicator
|
||||||
nil t))
|
nil t))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user