diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 3e11850..853a711 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -378,10 +378,10 @@ directory, the file name, and its state (modified, read-only or non-existent)." (unless (string-empty-p icon) (concat (propertize icon 'face `(:inherit - ,(let ((plist (get-text-property 0 'face icon))) + ,(let ((props (get-text-property 0 'face icon))) (if doom-modeline-major-mode-color-icon - plist - (remove :inherit plist))) + props + (remove :inherit props))) :inherit ,(if active 'mode-line 'mode-line-inactive))) (if active doom-modeline-vspc doom-modeline-inactive-vspc))))) diff --git a/doom-modeline.el b/doom-modeline.el index 365f25d..07d7ccc 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -4,7 +4,7 @@ ;; Author: Vincent Zhang ;; Homepage: https://github.com/seagle0128/doom-modeline -;; Version: 2.0.0 +;; Version: 2.1.0 ;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0")) ;; Keywords: faces mode-line