2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
+
* elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
of mark.
(elmo-generic-folder-commit folder))
(defun elmo-generic-folder-commit (folder)
- (when (elmo-folder-persistent-p folder)
- (let ((msgdb (elmo-folder-msgdb folder)))
+ (let ((msgdb (elmo-folder-msgdb-internal folder)))
+ (when (and msgdb (elmo-folder-persistent-p folder))
(when (elmo-msgdb-message-modified-p msgdb)
(elmo-folder-set-info-max-by-numdb
folder