From e032bb92c3550529feb9bcfba7717bf2ab1b4ade Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 5 Dec 2018 04:30:01 +0800 Subject: [PATCH] Fix error in input-method: (wrong-type-argument stringp nil). --- doom-modeline.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 5118975..18e8c41 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -288,7 +288,7 @@ active.") (defface doom-modeline-persp-name '((t (:inherit font-lock-comment-face :italic t))) "Face for the replace state tag in evil state indicator.") -(defface doom-modeline-persp-buffer-not-in-persp '((t (:inherit doom-modeline-persp-name :bold t))) +(defface doom-modeline-persp-buffer-not-in-persp '((t (:inherit font-lock-doc-face :bold t))) "Face for the replace state tag in evil state indicator.") @@ -1405,7 +1405,8 @@ See `mode-line-percent-position'.") (bound-and-true-p evil-input-method)) (concat (nth 3 (assoc default-input-method input-method-alist)) - " "))) + " ")) + (t "")) 'face 'doom-modeline-buffer-major-mode)))