fix(mu4e): incorrect access of from addr slot

Within +mu4e/capture-msg-to-agenda, the from address is stored in the
cdar not the cadr.
This commit is contained in:
TEC 2021-11-10 22:24:09 +08:00 committed by Henrik Lissner
parent c247f9aabd
commit 13163888a1

View file

@ -199,7 +199,7 @@ is tomorrow. With two prefixes, select the deadline."
"[[mu4e:msgid:"
(plist-get msg :message-id) "]["
(truncate-string-to-width
(or (caar from) (cadr from)) 25 nil nil t)
(or (caar from) (cdar from)) 25 nil nil t)
" - "
(truncate-string-to-width
(plist-get msg :subject) 40 nil nil t)