From ca3f491ff65f3efec98e603a8d916bb5ea853ee5 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 9 Sep 2012 13:17:09 +0300 Subject: [PATCH] * mu4e: support '/' as well to choose a maildir from the full set --- mu4e/mu4e-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-utils.el b/mu4e/mu4e-utils.el index 4fd57fe6..adc8e3f3 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -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))