* mu4e: replace mu4e-user-mail-address-regexp' and mu4e-my-mail-addresses' with `mu4e-user-mail-address-list'

This commit is contained in:
djcb
2012-10-19 16:01:55 +03:00
parent f0be196209
commit 6ccbd45b85
6 changed files with 59 additions and 36 deletions

View File

@ -167,7 +167,7 @@ plist."
(:from-or-to
(let* ((from (mu4e-message-field msg :from))
(from (and from (cdar from))))
(if (and from (string-match mu4e-user-mail-address-regexp from))
(if (mu4e-user-mail-address-p from)
(mu4e~view-construct-contacts-header msg :to)
(mu4e~view-construct-contacts-header msg :from))))
;; date