From 91b622dc16456fd6b86294a47de925f84756b33c Mon Sep 17 00:00:00 2001 From: djcb Date: Wed, 17 Feb 2016 22:49:03 +0200 Subject: [PATCH] mu4e: fix logic in mu4e~process-contact --- 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 8948b26b..b48405b2 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -656,7 +656,7 @@ or (rfc822-string . CONTACT) otherwise." (let ((name (plist-get contact :name)) (mail (plist-get contact :mail)) (ignore-rx (or mu4e-compose-complete-ignore-address-regexp ""))) - (unless (and mail (not (string-match ignore-rx mail))) + (when (and mail (not (string-match ignore-rx mail))) (cons (if name (format "%s <%s>" (mu4e~rfc822-quoteit name) mail) mail) contact)))))