+2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
+
2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
(defun elmo-folder-local-p (folder)
"Return whether FOLDER is a local folder or not."
- (let ((type (elmo-folder-get-type folder)))
- (memq type '(localdir localnews archive maildir internal cache))))
+ (let ((spec (elmo-folder-get-spec folder)))
+ (case (car spec)
+ (filter (elmo-folder-local-p (nth 2 spec)))
+ (pipe (elmo-folder-local-p (elmo-pipe-spec-dst spec)))
+ (t (memq (car spec)
+ '(localdir localnews archive maildir internal cache))))))
(defun elmo-folder-writable-p (folder)
(let ((type (elmo-folder-get-type folder)))