From: Mattias EngdegÄrd Date: Sun, 19 Jul 2020 15:13:35 +0000 (+0200) Subject: Suppress relint false positive in gnus-start.el X-Git-Tag: emacs-28.0.90~6959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1da5b3abd5e8b7c9b97f8ef3b472d3d724894d8b;p=emacs.git 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. --- 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))