From 1da5b3abd5e8b7c9b97f8ef3b472d3d724894d8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 19 Jul 2020 17:13:35 +0200 Subject: [PATCH] Suppress relint false positive in gnus-start.el * lisp/gnus/gnus-start.el (gnus-active-to-gnus-format): Add suppressive comment. Prepending "^to\\.\\|" is redundant when 'gnus-ignored-newsgroups' already matches that pattern, but adding logic here is not worth the trouble. --- lisp/gnus/gnus-start.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 78e07498de7..ba8b91be5c5 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -2111,6 +2111,7 @@ The info element is shared with the same element of ((string= gnus-ignored-newsgroups "") (delete-matching-lines "^to\\.")) (t + ;; relint suppression: Duplicated alternative branch (delete-matching-lines (concat "^to\\.\\|" gnus-ignored-newsgroups)))) (goto-char (point-min)) -- 2.39.5