From 413ef5a7e664d84415eae00e491e2a14a6018265 Mon Sep 17 00:00:00 2001 From: Andrew G Cohen Date: Fri, 25 Mar 2022 16:06:34 +0800 Subject: [PATCH] ; Restore regexp-quote for gnus subject match * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 769ad6d9eb1..62efacfd6e2 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -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 -- 2.39.5