summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-03-14 05:08:49 +0000
committerjao <jao@gnu.org>2024-03-14 05:08:49 +0000
commit4d062704b53a252676017c66e3a3327f0e8c277a (patch)
treea49d35a4426292d6ddd57fc9e5eadeead36020d1
parente7b8e2104adeaa7bc821abafcaa978f56583962d (diff)
downloadelibs-4d062704b53a252676017c66e3a3327f0e8c277a.tar.gz
elibs-4d062704b53a252676017c66e3a3327f0e8c277a.tar.bz2
gnus: separate input directory, to not interfere with notmuch
-rw-r--r--custom/jao-custom-gnus.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index f8bbe31..b679b16 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -186,10 +186,10 @@
;;;; nnml
(setq mail-sources
- (when (and jao-gnus-use-nnml (not jao-notmuch-enabled))
+ (when jao-gnus-use-nnml ;; (and jao-gnus-use-nnml (not jao-notmuch-enabled))
(let ((fix (regexp-opt '("feeds" "local" "trash" "spam"))))
(mapcar (lambda (d) `(maildir :path ,(concat d "/")))
- (directory-files "~/var/mail/" t
+ (directory-files "~/var/mail/gnus/" t
(concat "[^\\.]+\\.[^\\.]+\\|" fix)))))
gnus-message-archive-group nil
nnml-get-new-mail t