2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-draft.el (wl-draft-queue-flush): Call elmo-folder-open-internal
+ and elmo-folder-close.
+
* wl.el (wl): Call `wl-check-environment' before `wl-plugged-init'.
2001-09-28 TAKAHASHI Kaoru <kaoru@kaisei.org>
"Flush draft queue."
(interactive)
(let* ((queue-folder (wl-folder-get-elmo-folder wl-queue-folder))
- (msgs2 (elmo-folder-list-messages queue-folder))
+ (msgs2 (progn
+ (elmo-folder-open-internal queue-folder)
+ (elmo-folder-list-messages queue-folder)))
(i 0)
(performed 0)
(wl-draft-queue-flushing t)
(kill-buffer buffer)
(message "%d message(s) are sent." performed)))
(message "%d message(s) are remained to be sent." len))
+ (elmo-folder-close queue-folder)
len)))
(defun wl-jump-to-draft-buffer (&optional arg)