Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b9558683
Commit
b9558683
authored
Aug 14, 2014
by
Alan Schmitt
Committed by
Katsumi Yamaoka
Aug 14, 2014
Browse files
gnus-sum.el (gnus-summary-expire-articles): Reinstall improved version of the 2014-08-05 change
parent
8f944212
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+6
-0
lisp/gnus/gnus-sum.el
lisp/gnus/gnus-sum.el
+13
-7
No files found.
lisp/gnus/ChangeLog
View file @
b9558683
2014-08-14 Alan Schmitt <alan.schmitt@polytechnique.org>
* gnus-sum.el (gnus-summary-expire-articles): Functions registered to
the gnus-summary-article-expire-hook should be told where the function
is going. In particular, the Gnus registry might want to know.
2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
* gnus-art.el (gnus-hidden-properties): Drop the evil `intangible'.
...
...
lisp/gnus/gnus-sum.el
View file @
b9558683
...
...
@@ -10444,13 +10444,19 @@ This will be the case if the article has both been mailed and posted."
(when (and (not (memq article es))
(gnus-data-find article))
(gnus-summary-mark-article article gnus-canceled-mark)
(run-hook-with-args 'gnus-summary-article-expire-hook
'delete
(gnus-data-header
(assoc article (gnus-data-list nil)))
gnus-newsgroup-name
nil
nil)))))))
(run-hook-with-args
'gnus-summary-article-expire-hook
'delete
(gnus-data-header (assoc article (gnus-data-list nil)))
gnus-newsgroup-name
(cond
((stringp nnmail-expiry-target) nnmail-expiry-target)
((eq nnmail-expiry-target 'delete) nil)
(t
(let ((rescall (funcall nnmail-expiry-target
gnus-newsgroup-name)))
(if (stringp rescall) rescall nil))))
nil)))))))
(gnus-message 6 "Expiring articles...done")))))
(defun gnus-summary-expire-articles-now ()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment