1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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).
This commit is contained in:
Kévin Le Gouguec 2020-07-19 04:34:22 +02:00 committed by Lars Ingebrigtsen
parent e68a455afb
commit af5861569b

View file

@ -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.