1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-22 07:06:48 +02:00

* fix mu4e~read-option-normalize-list for options with only a title

This commit is contained in:
djcb 2012-04-28 20:51:09 +03:00
parent 1a8de6efc1
commit 378d086fc9

View File

@ -58,7 +58,8 @@ dir already existed, or has been created, nil otherwise."
(list
(substring (nth 0 option) 1) ;; chop off first char
(string-to-char (nth 0 option)) ;; first char as shortcut
(or (nth 2 option) (nth 1 option)))))
(or (nth 2 option) (nth 1 option)
(string-to-char (nth 0 option))))))
options))