emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master af58615: Simplify dummy root subject before comparing it to the c


From: Lars Ingebrigtsen
Subject: master af58615: Simplify dummy root subject before comparing it to the current article
Date: Sat, 18 Jul 2020 22:34:35 -0400 (EDT)

branch: master
commit af5861569bf84572c318a630eca07ad657868612
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Simplify dummy root subject before comparing it to the current article
    
    * lisp/gnus/gnus-sum.el (gnus-summary-prepare-threads): Simplify both
    the dummy root and the following article before comparing them,
    otherwise both the former and the latter might display the thread's
    subject even when gnus-summary-line-format contains "%s" (bug#40520).
---
 lisp/gnus/gnus-sum.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 341f04a..1b0220a 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -5352,7 +5352,8 @@ or a straight list of headers."
              ;; We remember that we probably want to output a dummy
              ;; root.
              (setq gnus-tmp-dummy-line gnus-tmp-header)
-             (setq gnus-tmp-prev-subject gnus-tmp-header))
+             (setq gnus-tmp-prev-subject
+                   (gnus-simplify-subject-fully gnus-tmp-header)))
             (t
              ;; We do not make a root for the gathered
              ;; sub-threads at all.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]