X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=elmo%2Felmo-pipe.el;h=352c0edd7c16ce2f9e19a6d93aebaeb30939cc4a;hb=10518221da70c6e7ffc66352ee6a3e1036bd5133;hp=f17f9f9427ced9886fa652a037caa06e1df92009;hpb=00990dd383e2e34706cd032fa256b90459091d8f;p=elisp%2Fwanderlust.git diff --git a/elmo/elmo-pipe.el b/elmo/elmo-pipe.el index f17f9f9..352c0ed 100644 --- a/elmo/elmo-pipe.el +++ b/elmo/elmo-pipe.el @@ -46,10 +46,10 @@ (defun elmo-pipe-append-msg (spec string &optional msg no-see) (elmo-append-msg (elmo-pipe-spec-dst spec) string)) -(defun elmo-pipe-read-msg (spec number outbuf) +(defun elmo-pipe-read-msg (spec number outbuf &optional msgdb unread) (elmo-call-func (elmo-pipe-spec-dst spec) "read-msg" - number outbuf)) + number outbuf msgdb unread)) (defun elmo-pipe-delete-msgs (spec msgs) (elmo-delete-msgs (elmo-pipe-spec-dst spec) msgs)) @@ -58,9 +58,7 @@ (defun elmo-pipe-drain (src dst) "Move all messages of SRC to DST." - (let (elmo-nntp-use-cache - elmo-imap4-use-cache - elmo-pop3-use-cache ; Inhibit caching while moving messages. + (let ((elmo-inhibit-read-cache t); Inhibit caching while moving messages. elmo-pop3-use-uidl) ; No need to use UIDL (message "Checking %s..." src) (let ((srclist (elmo-list-folder src))