From e675b3d34cbe5347280b28cb449dbb5c1d110dff Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 1 Oct 2023 11:59:13 +0000 Subject: modules/emacs: build init with packages available Otherwise it complains about not being able to find them. --- modules/workstation/emacs/init.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/workstation/emacs/init.el') diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el index f34cbc35981d..752362bf59ee 100644 --- a/modules/workstation/emacs/init.el +++ b/modules/workstation/emacs/init.el @@ -186,9 +186,6 @@ point." (transient-append-suffix command ["-S"] '("=S" "Don't sign using gpg" "--no-gpg-sign")))) -;;; mail ;;; -(setq mail-user-agent 'notmuch-user-agent) - ;;; Markdown ;;; (setq-default markdown-hide-markup t) @@ -223,6 +220,12 @@ point." (:name "lists" :query "-tag:done to:afra@afra-berlin.de OR to:@list.skarnet.org OR wayland-devel@lists.freedesktop.org OR to:distributions@lists.linux.dev" :key "l"))) (setq notmuch-tagging-keys '(("d" ("+done") "done"))) +;;; mail ;;; +; This has to go after we set the notmuch settings, for some reason, +; or they are not applied. +(require 'notmuch-mua) +(setq mail-user-agent 'notmuch-user-agent) + ;;; Org-mode ;;; (setq org-id-locations-file (concat user-emacs-directory "/org-id-locations")) -- cgit 1.4.1