]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/misc/gnus.texi (Loose Threads): Use regexp-opt in example.
authorStefan Kangas <stefan@marxist.se>
Tue, 5 Oct 2021 17:31:52 +0000 (19:31 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 5 Oct 2021 17:32:32 +0000 (19:32 +0200)
doc/misc/gnus.texi

index 0c065584c45170308e098acc513b439c6057e500..6c892bc80a92f75384cf5483dea1db0c1e467f0b 100644 (file)
@@ -7130,20 +7130,15 @@ as 10, you might consider setting this variable to something sensible:
 (setq gnus-simplify-ignored-prefixes
       (concat
        "\\`\\[?\\("
-       (mapconcat
-        'identity
-        '("looking"
-          "wanted" "followup" "summary\\( of\\)?"
-          "help" "query" "problem" "question"
-          "answer" "reference" "announce"
-          "How can I" "How to" "Comparison of"
-          ;; ...
-          )
-        "\\|")
+       (regexp-opt '("looking"
+                     "wanted" "followup" "summary" "summary of"
+                     "help" "query" "problem" "question"
+                     "answer" "reference" "announce"
+                     "How can I" "How to" "Comparison of"
+                     ;; ...
+                     ))
        "\\)\\s *\\("
-       (mapconcat 'identity
-                  '("for" "for reference" "with" "about")
-                  "\\|")
+       (regexp-opt '("for" "for reference" "with" "about"))
        "\\)?\\]?:?[ \t]*"))
 @end lisp