From fed2b288ddc4a7c1dc8ba925b7b4ab5b59d330e8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sat, 13 Jul 2019 00:52:09 +0800 Subject: [PATCH] Refactor: use quote instead of unnecessary backquote. --- doom-modeline-core.el | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/doom-modeline-core.el b/doom-modeline-core.el index 64143f8..fdd0b56 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -266,56 +266,67 @@ If the actual char height is larger, it respects the actual char height.") and`iedit', etc.") (defface doom-modeline-debug - `((t (:inherit font-lock-doc-face))) + '((t (:inherit font-lock-doc-face))) "Face for debug-level messages in the modeline. Used by `*flycheck'.") (defface doom-modeline-info - `((t (:inherit (success bold)))) + '((t (:inherit (success bold)))) "Face for info-level messages in the modeline. Used by `*vc'.") (defface doom-modeline-warning - `((t (:inherit (warning bold)))) + '((t (:inherit (warning bold)))) "Face for warnings in the modeline. Used by `*flycheck'") (defface doom-modeline-urgent - `((t (:inherit (error bold)))) + '((t (:inherit (error bold)))) "Face for errors in the modeline. Used by `*flycheck'") (defface doom-modeline-unread-number - `((t (:inherit italic))) + '((t (:inherit italic))) "Face for unread number in the modeline. Used by `github', `mu4e', etc.") -(defface doom-modeline-bar '((t (:inherit highlight))) +(defface doom-modeline-bar + '((t (:inherit highlight))) "The face used for the left-most bar on the mode-line of an active window.") -(defface doom-modeline-inactive-bar `((t (:background ,(face-foreground 'mode-line-inactive)))) +(defface doom-modeline-inactive-bar + `((t (:background ,(face-foreground 'mode-line-inactive)))) "The face used for the left-most bar on the mode-line of an inactive window.") -(defface doom-modeline-evil-emacs-state '((t (:inherit doom-modeline-warning))) +(defface doom-modeline-evil-emacs-state + '((t (:inherit doom-modeline-warning))) "Face for the Emacs state tag in evil state indicator.") -(defface doom-modeline-evil-insert-state '((t (:inherit doom-modeline-urgent))) +(defface doom-modeline-evil-insert-state + '((t (:inherit doom-modeline-urgent))) "Face for the insert state tag in evil state indicator.") -(defface doom-modeline-evil-motion-state '((t :inherit doom-modeline-buffer-path)) +(defface doom-modeline-evil-motion-state + '((t :inherit doom-modeline-buffer-path)) "Face for the motion state tag in evil state indicator.") -(defface doom-modeline-evil-normal-state '((t (:inherit doom-modeline-info))) +(defface doom-modeline-evil-normal-state + '((t (:inherit doom-modeline-info))) "Face for the normal state tag in evil state indicator.") -(defface doom-modeline-evil-operator-state '((t (:inherit doom-modeline-buffer-path))) +(defface doom-modeline-evil-operator-state + '((t (:inherit doom-modeline-buffer-path))) "Face for the operator state tag in evil state indicator.") -(defface doom-modeline-evil-visual-state '((t (:inherit doom-modeline-buffer-file))) +(defface doom-modeline-evil-visual-state + '((t (:inherit doom-modeline-buffer-file))) "Face for the visual state tag in evil state indicator.") -(defface doom-modeline-evil-replace-state '((t (:inherit doom-modeline-buffer-modified))) +(defface doom-modeline-evil-replace-state + '((t (:inherit doom-modeline-buffer-modified))) "Face for the replace state tag in evil state indicator.") -(defface doom-modeline-persp-name '((t (:inherit (font-lock-comment-face italic)))) +(defface doom-modeline-persp-name + '((t (:inherit (font-lock-comment-face italic)))) "Face for the replace state tag in evil state indicator.") -(defface doom-modeline-persp-buffer-not-in-persp '((t (:inherit (font-lock-doc-face bold italic)))) +(defface doom-modeline-persp-buffer-not-in-persp + '((t (:inherit (font-lock-doc-face bold italic)))) "Face for the replace state tag in evil state indicator.") ;;