From 961dba6d3eed9162b866b0739925e50f59f5a3b4 Mon Sep 17 00:00:00 2001 From: djcb Date: Thu, 18 Feb 2016 19:28:21 +0200 Subject: [PATCH] mu4e: by default, don't ignore any address If set to nil, mu4e-compose-complete-ignore-address-regexp shouldn't match anything. --- 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 b48405b2..6059e3a7 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -655,7 +655,7 @@ or (rfc822-string . CONTACT) otherwise." (when contact (let ((name (plist-get contact :name)) (mail (plist-get contact :mail)) - (ignore-rx (or mu4e-compose-complete-ignore-address-regexp ""))) + (ignore-rx (or mu4e-compose-complete-ignore-address-regexp "$^"))) (when (and mail (not (string-match ignore-rx mail))) (cons (if name (format "%s <%s>" (mu4e~rfc822-quoteit name) mail) mail)