* elmo.el (elmo-folder-length): Don't require msgdb.
+2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-folder-length): Don't require msgdb.
+
2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
* elmo.el (elmo-message-mark): Cause an error when empty folder.
"Return number of messages in the FOLDER.")
(luna-define-method elmo-folder-length ((folder elmo-folder))
- (elmo-msgdb-length (elmo-folder-msgdb folder)))
+ (if (elmo-folder-msgdb-internal folder)
+ (elmo-msgdb-length (elmo-folder-msgdb folder))
+ 0))
(defun elmo-msgdb-load (folder &optional silent)
(unless silent
+2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-action.el (wl-summary-set-mark): Cause an error when no message.
+
2003-07-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* wl-expire.el (wl-folder-expire-current-entity): Specify folder type.
(current (wl-summary-message-number))
(action (assoc set-mark wl-summary-mark-action-list))
visible mark cur-mark)
+ (when (elmo-folder-length wl-summary-buffer-elmo-folder)
+ (error "Set mark failed"))
+ (unless current
+ (error "No message"))
(prog1
(save-excursion
;; Put mark