dot/emacs: Snarf addresses from `nnfolder' groups too.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:06:41 +0000 (11:06 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 15 Apr 2016 09:09:37 +0000 (10:09 +0100)
dot/emacs

index 85a2fd2..562d733 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       bbdb/news-auto-create-p
       (lambda ()
        (let ((group gnus-newsgroup-name))
-         (and (string-match "^nnimap\\+" group)
+         (and (string-match "^nn\\(imap\\|folder\\)\\+" group)
               (not (string-match ":\\(crap\\|spam\\|lists\\)\\." group)))))
       bbdb-user-mail-names
       (concat "^"