From eb110e9d7c1e95e92fea6d72f26d77c831973a18 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 19 Mar 2021 22:16:24 +0200 Subject: fix(tazjin/emacs): Set notmuch custom variables through :custom It seems like some of them end up file-local anyways, and the explicit call to `custom-set-variables` in mail-setup.el had seemingly no effect. Change-Id: Iad5011b5f8348b1ca5973813995c9644ac85ddf5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2610 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/init.el | 8 ++++---- users/tazjin/emacs/config/mail-setup.el | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'users/tazjin') diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el index b473746fbe6a..b37fab81faf7 100644 --- a/users/tazjin/emacs/config/init.el +++ b/users/tazjin/emacs/config/init.el @@ -78,10 +78,10 @@ (use-package multiple-cursors) (use-package notmuch - :config - (setq notmuch-search-oldest-first nil) - (setq notmuch-show-all-tags-list t) - (setq notmuch-hello-tag-list-make-query "tag:unread")) + :custom + (notmuch-search-oldest-first nil) + (notmuch-show-all-tags-list t) + (notmuch-hello-tag-list-make-query "tag:unread")) (use-package paredit :hook ((lisp-mode . paredit-mode) (emacs-lisp-mode . paredit-mode))) diff --git a/users/tazjin/emacs/config/mail-setup.el b/users/tazjin/emacs/config/mail-setup.el index 2d89ed75edcc..1167bcadd372 100644 --- a/users/tazjin/emacs/config/mail-setup.el +++ b/users/tazjin/emacs/config/mail-setup.el @@ -22,7 +22,6 @@ '((:name "inbox" :query "tag:inbox" :count-query "tag:inbox AND tag:unread" :key "i") (:name "sent" :query "tag:sent" :key "t") (:name "drafts" :query "tag:draft"))) -(custom-set-variables '(notmuch-search-oldest-first nil)) (setq notmuch-show-empty-saved-searches t) ;; Mail sending configuration -- cgit 1.4.1