mirror of https://github.com/djcb/mu.git
* mu4e: small cleanup
This commit is contained in:
parent
90eed15fc7
commit
3c4b351e69
|
@ -258,10 +258,8 @@ Function will return the cdr of the list element."
|
||||||
(if (file-accessible-directory-p
|
(if (file-accessible-directory-p
|
||||||
(concat mu4e-maildir "/" mdir "/" (car dentry) "/cur"))
|
(concat mu4e-maildir "/" mdir "/" (car dentry) "/cur"))
|
||||||
(setq dirs (cons (concat mdir (car dentry)) dirs)))
|
(setq dirs (cons (concat mdir (car dentry)) dirs)))
|
||||||
(if (not (or (string-equal "cur" (car dentry))
|
(unless (member (car dentry) '("cur" "new" "tmp"))
|
||||||
(string-equal "new" (car dentry))
|
(setq dirs (append dirs (mu4e~get-maildirs-1 path
|
||||||
(string-equal "tmp" (car dentry))))
|
|
||||||
(setq dirs (append dirs (mu4e~get-maildirs-1 path
|
|
||||||
(concat mdir (car dentry) "/")))))))
|
(concat mdir (car dentry) "/")))))))
|
||||||
dirs))
|
dirs))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue