From 8d1d514be8e54c517c0fc5ae2268a0acad8dbe76 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 4 Nov 2016 03:30:32 +0100 Subject: [PATCH] doom-modeline-major-mode (face) => doom-modeline-buffer-major-mode --- core/core-modeline.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-modeline.el b/core/core-modeline.el index 1069c3de5..7b4df85aa 100644 --- a/core/core-modeline.el +++ b/core/core-modeline.el @@ -54,7 +54,7 @@ (defface doom-modeline-buffer-modified '((t (:inherit highlight :background nil))) "Face used for the 'unsaved' symbol in the mode-line.") -(defface doom-modeline-major-mode '((t (:inherit mode-line :bold t))) +(defface doom-modeline-buffer-major-mode '((t (:inherit mode-line :bold t))) "Face used for the major-mode segment in the mode-line.") (defface doom-modeline-highlight '((t (:inherit mode-line))) @@ -231,7 +231,7 @@ directory, the file name, and its state (modified, read-only or non-existent)." (and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format " (%+d)" text-scale-mode-amount))) - 'face (if (active) 'doom-modeline-major-mode))) + 'face (if (active) 'doom-modeline-buffer-major-mode))) (defun *vc () "Displays the current branch, colored based on its state."