* elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed msgdb path
authorteranisi <teranisi>
Tue, 27 Feb 2001 08:56:17 +0000 (08:56 +0000)
committerteranisi <teranisi>
Tue, 27 Feb 2001 08:56:17 +0000 (08:56 +0000)
(To keep compatibility with main trunk).

elmo/ChangeLog
elmo/elmo-localdir.el

index e8b4e81..134e43f 100644 (file)
@@ -1,5 +1,8 @@
 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
+       msgdb path (To keep compatibility with main trunk).
+
        * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
 
        * elmo-util.el (elmo-make-file-cache): Moved position of
index f041c58..e64360d 100644 (file)
 (luna-define-method elmo-folder-expand-msgdb-path ((folder
                                                    elmo-localdir-folder))
   (expand-file-name 
-   (elmo-replace-string-as-filename 
-    (elmo-localdir-folder-dir-name-internal folder))
+   (mapconcat
+    'identity
+    (mapcar 
+     'elmo-replace-string-as-filename
+     (split-string (elmo-localdir-folder-dir-name-internal folder)
+                  "/"))
+    "/")
    (expand-file-name ;;"localdir"
     (symbol-name (elmo-folder-type-internal folder))
     elmo-msgdb-dir)))