* elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
authordmaus <dmaus>
Thu, 14 Oct 2010 04:12:29 +0000 (04:12 +0000)
committerdmaus <dmaus>
Thu, 14 Oct 2010 04:12:29 +0000 (04:12 +0000)
return state of child folders.

Original patch by Kazuhiro Ito.

elmo/ChangeLog
elmo/elmo-multi.el

index a2d54a7..90353ee 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-14  David Maus  <dmaus@ictsoc.de>
+
+       * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
+       return state of child folders.
+
 2010-10-13  David Maus  <dmaus@ictsoc.de>
 
        * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
index a661905..f3fd075 100644 (file)
 
 (luna-define-method elmo-folder-open-internal-p ((folder elmo-multi-folder))
   (let (open t)
-    (dolist (fld (elmo-multi-folder-children-internal folder))
+    (dolist (fld (elmo-multi-folder-children-internal folder) open)
       (setq open (and open (elmo-folder-open-internal-p fld))))))
 
 (luna-define-method elmo-folder-check ((folder elmo-multi-folder))