(elmo-folder-initialize): Set a dummy when the
authorhmurata <hmurata>
Wed, 5 May 2004 05:56:47 +0000 (05:56 +0000)
committerhmurata <hmurata>
Wed, 5 May 2004 05:56:47 +0000 (05:56 +0000)
shimbun backend couldn't open.

elmo/ChangeLog
elmo/elmo-shimbun.el

index e92f399..59fd8d3 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
+       shimbun backend couldn't open.
+
 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
 
        * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
index e63d8c9..3e1c24b 100644 (file)
@@ -223,8 +223,11 @@ update overview when message is fetched."
       (when (nth 0 server-group) ; server
        (elmo-shimbun-folder-set-shimbun-internal
         folder
-        (shimbun-open (nth 0 server-group)
-                      (luna-make-entity 'shimbun-elmo-mua :folder folder))))
+        (condition-case nil
+            (shimbun-open (nth 0 server-group)
+                          (luna-make-entity 'shimbun-elmo-mua :folder folder))
+          (file-error
+           (luna-make-entity 'shimbun :server (nth 0 server-group))))))
       (when (nth 1 server-group)
        (elmo-shimbun-folder-set-group-internal
         folder