* mu4e: support '/' as well to choose a maildir from the full set

This commit is contained in:
djcb 2012-09-09 13:17:09 +03:00
parent 66e89e75fe
commit ca3f491ff6
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ maildirs under `mu4e-maildir."
(car item)))
mlist ", "))
(kar (read-char (concat prompt fnames))))
(if (= kar ?o) ;; user chose 'other'?
(if (member kar '(?/ ?o)) ;; user chose 'other'?
(ido-completing-read prompt (mu4e-get-maildirs))
(or (car-safe
(find-if (lambda (item) (= kar (cdr item))) mu4e-maildir-shortcuts))