From abe2ac28c08c23b7f0def83f258966529a1c7486 Mon Sep 17 00:00:00 2001 From: TEC Date: Fri, 23 Jul 2021 03:20:22 +0800 Subject: [PATCH] Mu4e: Replace stray setq with defvar and docstring --- modules/email/mu4e/config.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index 4cf161ed1..4ecbe0b3c 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -99,13 +99,15 @@ (add-to-list 'mu4e-bookmarks '(:name "Flagged messages" :query "flag:flagged" :key ?f) t) - (setq +mu4e-header-colorized-faces - '(all-the-icons-green - all-the-icons-lblue - all-the-icons-purple-alt - all-the-icons-blue-alt - all-the-icons-purple - all-the-icons-yellow)) + ;; TODO avoid assuming that all-the-icons is present + (defvar +mu4e-header-colorized-faces + '(all-the-icons-green + all-the-icons-lblue + all-the-icons-purple-alt + all-the-icons-blue-alt + all-the-icons-purple + all-the-icons-yellow) + "Faces to use when coloring folders and account stripes.") ;; Add a column to display what email account the email belongs to, ;; and an account color stripe column