diff options
-rw-r--r-- | custom/jao-custom-gnus.el | 4 |
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 |