From b0e61befc9313bed62f4daa3680124695192b2d2 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 30 May 2019 13:55:11 +0800 Subject: [PATCH] Remove unused codes. --- doom-modeline-segments.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 22f8e63..5b0d826 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -382,9 +382,7 @@ mouse-1: Previous buffer\nmouse-3: Next buffer" (if (doom-modeline--active) icon (propertize icon 'face `(:inherit - ,(let* ((props (get-text-property 0 'face icon))) - (if doom-modeline-major-mode-color-icon - props (remove :inherit props))) + ,(get-text-property 0 'face icon) :inherit mode-line-inactive))) (doom-modeline-vspc))))))