diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 1038bec..22f8e63 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -486,7 +486,7 @@ directory, the file name, and its state (modified, read-only or non-existent)." (propertize (concat (doom-modeline-spc) - (propertize mode-name + (propertize (format-mode-line mode-name) 'help-echo "Major mode\n\ mouse-1: Display major mode menu\n\ mouse-2: Show help for major mode\n\ @@ -517,7 +517,7 @@ mouse-3: Toggle minor modes" (if (doom-modeline--active) mode-line-process (propertize - (format-mode-line '("" mode-line-process)) + (format-mode-line mode-line-process) 'face 'mode-line-inactive))) @@ -545,7 +545,7 @@ mouse-1: Display minor modes menu" (concat (replace-regexp-in-string (regexp-quote "%") "%%%%" - (format-mode-line '("" minor-mode-alist)) + (format-mode-line minor-mode-alist) t t) (doom-modeline-spc)) 'face (if active diff --git a/doom-modeline.el b/doom-modeline.el index 090be07..d57eecf 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.3.1 +;; Version: 2.3.2 ;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0")) ;; Keywords: faces mode-line