From 4d24922915c79f7a3601bb02886a79ca1adeb4e5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 17 Apr 2020 05:15:30 +0200 Subject: [PATCH] Emacs: Refine ruler theme. --- init.d/text/common.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.d/text/common.el b/init.d/text/common.el index 250abac..6cce51f 100644 --- a/init.d/text/common.el +++ b/init.d/text/common.el @@ -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)))