projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c08c2f
)
Suppress relint false positive in gnus-start.el
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 19 Jul 2020 15:13:35 +0000
(17:13 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 20 Jul 2020 09:06:02 +0000
(11:06 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-start.el
b/lisp/gnus/gnus-start.el
index 78e07498de73ce86d2d374eb16361e1f1a39e83b..ba8b91be5c5bc4b07f0a481786d73a8fffdf3e24 100644
(file)
--- 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))