+2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
+ (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
+ queues (It causes infinite loop).
+
2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
* elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
;; obsolete
(unless (or (null queue)
(vectorp (car queue)))
- (when (y-or-n-p "Saved queue is old version(2.4). Clear all pending operations? ")
- (setq elmo-dop-queue nil)
- (message "All pending operations are cleared.")
- (elmo-dop-queue-save)))
+ (if (y-or-n-p "Saved queue is old version(2.6). Clear all pending operations? ")
+ (progn
+ (setq elmo-dop-queue nil)
+ (message "All pending operations are cleared.")
+ (elmo-dop-queue-save))
+ (error "Please use 2.6 or earlier.")))
(setq count (length queue))
(when (> count 0)
(if (elmo-y-or-n-p
(setq folder
(elmo-make-folder
(elmo-dop-queue-fname (car queue))))
- (elmo-folder-open folder))
+ (elmo-folder-open folder)
+ (unless (elmo-folder-plugged-p folder)
+ (error "Unplugged.")))
(elmo-dop-queue-arguments (car queue)))
(elmo-folder-close folder))
(quit (setq failure t))