Fix error in input-method: (wrong-type-argument stringp nil).

This commit is contained in:
Vincent Zhang 2018-12-05 04:30:01 +08:00
parent 5836f0603c
commit e032bb92c3

View file

@ -288,7 +288,7 @@ active.")
(defface doom-modeline-persp-name '((t (:inherit font-lock-comment-face :italic t))) (defface doom-modeline-persp-name '((t (:inherit font-lock-comment-face :italic t)))
"Face for the replace state tag in evil state indicator.") "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.") "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)) (bound-and-true-p evil-input-method))
(concat (concat
(nth 3 (assoc default-input-method input-method-alist)) (nth 3 (assoc default-input-method input-method-alist))
" "))) " "))
(t ""))
'face 'doom-modeline-buffer-major-mode))) 'face 'doom-modeline-buffer-major-mode)))