(defmacro elmo-location-map-key (number)
- `(concat "#" (int-to-string ,number)))
+ `(concat "#" (number-to-string ,number)))
(defun elmo-location-map-load (location-map directory)
(elmo-location-map-setup
(elmo-folder-set-msgdb-internal folder new-msgdb)))
(luna-define-method elmo-folder-open-internal ((folder elmo-map-folder))
- (elmo-location-map-load folder (elmo-folder-msgdb-path folder))
+ (unless (elmo-location-map-alist folder)
+ (elmo-location-map-load folder (elmo-folder-msgdb-path folder)))
(when (elmo-folder-plugged-p folder)
(elmo-location-map-update
folder