]> git.eshelyaron.com Git - emacs.git/commitdiff
; Restore regexp-quote for gnus subject match
authorAndrew G Cohen <cohen@andy.bu.edu>
Fri, 25 Mar 2022 08:06:34 +0000 (16:06 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Fri, 25 Mar 2022 22:23:20 +0000 (06:23 +0800)
* lisp/gnus/gnus-sum.el (gnus-summary-limit-include-thread): Restore
regexp-quote that was inadvertently dropped in commit 2021-12-21 "Fix
gnus subject matching when subject is empty".

lisp/gnus/gnus-sum.el

index 769ad6d9eb1d2bba7056a87f2cfb7b848999c046..62efacfd6e205aecc50cf128908f03ddd16a86e6 100644 (file)
@@ -8663,7 +8663,7 @@ these articles."
         (when matching-subject
           (gnus-summary-limit-include-matching-articles
            "subject"
-           matching-subject)
+           (regexp-quote matching-subject))
           ;; Each of the previous two limit calls push a limit onto
           ;; the limit stack. Presumably we want to think of the
           ;; thread and its associated subject matches as a single