* mu4e: small cleanup

This commit is contained in:
djcb 2013-04-06 10:17:03 +03:00
parent 90eed15fc7
commit 3c4b351e69
1 changed files with 2 additions and 4 deletions

View File

@ -258,10 +258,8 @@ Function will return the cdr of the list element."
(if (file-accessible-directory-p
(concat mu4e-maildir "/" mdir "/" (car dentry) "/cur"))
(setq dirs (cons (concat mdir (car dentry)) dirs)))
(if (not (or (string-equal "cur" (car dentry))
(string-equal "new" (car dentry))
(string-equal "tmp" (car dentry))))
(setq dirs (append dirs (mu4e~get-maildirs-1 path
(unless (member (car dentry) '("cur" "new" "tmp"))
(setq dirs (append dirs (mu4e~get-maildirs-1 path
(concat mdir (car dentry) "/")))))))
dirs))