projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e8da7
)
Filter out negative article numbers during expiry
author
Dave Abrahams
<dave@boostpro.com>
Sat, 21 Jul 2012 01:08:53 +0000
(21:08 -0400)
committer
Dave Abrahams
<dave@boostpro.com>
Wed, 29 Aug 2012 17:48:10 +0000
(10:48 -0700)
Fixes #11980
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11980#8
lisp/gnus-int.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-int.el
b/lisp/gnus-int.el
index
339e3d9
..
3aee7c6
100644
(file)
--- a/
lisp/gnus-int.el
+++ b/
lisp/gnus-int.el
@@
-706,6
+706,10
@@
If GROUP is nil, all groups on GNUS-COMMAND-METHOD are scanned."
(defun gnus-request-expire-articles (articles group &optional force)
(let* ((gnus-command-method (gnus-find-method-for-group group))
+ ;; Filter out any negative article numbers; they can't be
+ ;; expired here.
+ (articles
+ (delq nil (mapcar (lambda (n) (and (>= n 0) n)) articles)))
(gnus-inhibit-demon t)
(not-deleted
(funcall