aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2013-03-28 01:36:23 +0000
committerKatsumi Yamaoka2013-03-28 01:36:23 +0000
commit115694a3d83c3c248ad068a0330eea9e1eb4ff59 (patch)
treefb6edae2c3bcbb9d315db31ef838278815db829c
parent53d3b73104bbf0bd936a4e37dff457b90149b69a (diff)
downloademacs-115694a3d83c3c248ad068a0330eea9e1eb4ff59.tar.gz
emacs-115694a3d83c3c248ad068a0330eea9e1eb4ff59.zip
lisp/gnus/nndraft.el (nndraft-request-expire-articles): Make expiry target always `delete'
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nndraft.el15
2 files changed, 15 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index cbfb0109aec..e42e7606313 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12013-03-28 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * nndraft.el (nndraft-request-expire-articles):
4 Make expiry target always `delete'.
5
12013-03-27 Andrew Cohen <cohen@bu.edu> 62013-03-27 Andrew Cohen <cohen@bu.edu>
2 7
3 * gnus-msg.el (gnus-setup-message): When replying from an nnir summary 8 * gnus-msg.el (gnus-setup-message): When replying from an nnir summary
diff --git a/lisp/gnus/nndraft.el b/lisp/gnus/nndraft.el
index b19b56ae6ea..c9625f4c447 100644
--- a/lisp/gnus/nndraft.el
+++ b/lisp/gnus/nndraft.el
@@ -255,11 +255,16 @@ are generated if and only if they are also in `message-draft-headers'.")
255(deffoo nndraft-request-expire-articles (articles group &optional server force) 255(deffoo nndraft-request-expire-articles (articles group &optional server force)
256 (nndraft-possibly-change-group group) 256 (nndraft-possibly-change-group group)
257 (let* ((nnmh-allow-delete-final t) 257 (let* ((nnmh-allow-delete-final t)
258 (nnmail-expiry-target 258 (nnmail-expiry-target 'delete)
259 (or (gnus-group-find-parameter 259 ;; FIXME: If we want to move a draft message to an expiry group,
260 (gnus-group-prefixed-name group (list 'nndraft server)) 260 ;; there are things to have to improve:
261 'expiry-target t) 261 ;; - Remove a header separator.
262 nnmail-expiry-target)) 262 ;; - Encode it, including attachments, into a MIME message.
263 ;;(nnmail-expiry-target
264 ;; (or (gnus-group-find-parameter
265 ;; (gnus-group-prefixed-name group (list 'nndraft server))
266 ;; 'expiry-target t)
267 ;; nnmail-expiry-target))
263 (res (nnoo-parent-function 'nndraft 268 (res (nnoo-parent-function 'nndraft
264 'nnmh-request-expire-articles 269 'nnmh-request-expire-articles
265 (list articles group server force))) 270 (list articles group server force)))