Skip to content

Commit 0b4eec3

Browse files
committed
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.
1 parent 6df8900 commit 0b4eec3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisp/gnus/gnus-ml.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858

5959
;;;###autoload
6060
(defun turn-on-gnus-mailing-list-mode ()
61-
(when (gnus-group-find-parameter gnus-newsgroup-name 'to-list)
61+
(when (or (gnus-group-find-parameter gnus-newsgroup-name 'to-list)
62+
(and gnus-mailing-list-groups
63+
(string-match gnus-mailing-list-groups gnus-newsgroup-name)))
6264
(gnus-mailing-list-mode 1)))
6365

6466
;;;###autoload

0 commit comments

Comments
 (0)