diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-07-19 17:13:35 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-07-20 11:06:02 +0200 |
commit | 1da5b3abd5e8b7c9b97f8ef3b472d3d724894d8b (patch) | |
tree | da552ba12509c628049c8207fb0f210c05baedf6 /lisp/gnus/gnus-start.el | |
parent | 4c08c2f45b9bb0265f6d7c3529011dee1b18e843 (diff) | |
download | emacs-1da5b3abd5e8b7c9b97f8ef3b472d3d724894d8b.tar.gz |
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.
Diffstat (limited to 'lisp/gnus/gnus-start.el')
-rw-r--r-- | lisp/gnus/gnus-start.el | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |