chiark / gitweb /
dot/emacs: Split regex into little pieces.
[profile] / dot / emacs
index 8611ff0d465c3685e37d3140c85db26f4ec2ae5a..22da44c4566bdd53eb0d66fe89948d4a6ea193d9 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       (lambda ()
        (let ((group gnus-newsgroup-name))
          (and (string-match "^nn\\(imap\\|folder\\)\\+" group)
-              (not (string-match ":\\(crap\\|spam\\|lists\\|corpus\\)\\."
+              (not (string-match (concat ":" "\\(" "crap"
+                                             "\\|" "spam"
+                                             "\\|" "lists"
+                                             "\\|" "corpus"
+                                             "\\)" "\\.")
                                  group)))))
       bbdb-user-mail-names
       (concat "^"