Commit 0b4eec31 authored by Filipp Gunbin's avatar Filipp Gunbin

Check gnus-mailing-list-groups in turn-on-gnus-mailing-list-mode

* lisp/gnus/gnus-ml.el (turn-on-gnus-mailing-list-mode): Check also
gnus-mailing-list-groups variable.
parent 6df8900a
Pipeline #4139 failed with stage
in 69 minutes
......@@ -58,7 +58,9 @@
;;;###autoload
(defun turn-on-gnus-mailing-list-mode ()
(when (gnus-group-find-parameter gnus-newsgroup-name 'to-list)
(when (or (gnus-group-find-parameter gnus-newsgroup-name 'to-list)
(and gnus-mailing-list-groups
(string-match gnus-mailing-list-groups gnus-newsgroup-name)))
(gnus-mailing-list-mode 1)))
;;;###autoload
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment