Emacs: Refine ruler theme.

This commit is contained in:
tastytea 2020-04-17 05:15:30 +02:00
parent 51e260234a
commit 4d24922915
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-17T03:49:42+0200>
;; Time-stamp: <2020-04-17T05:15:01+0200>
;;; Commentary:
@ -47,11 +47,13 @@
(set-face-foreground 'ruler-mode-column-number
(face-background 'default))
(set-face-foreground 'ruler-mode-fill-column
(face-foreground 'line-number-current-line))
(face-foreground 'fill-column-indicator nil t))
(set-face-foreground 'ruler-mode-comment-column
(face-foreground 'ruler-mode-fill-column))
(set-face-foreground 'ruler-mode-goal-column
(face-foreground 'ruler-mode-fill-column))
(set-face-foreground 'ruler-mode-current-column
(face-foreground 'line-number-current-line))
(defun my/ruler-on ()
"Turn `ruler-mode' on."
(ruler-mode 1)))