mu4e: by default, don't ignore any address

If set to nil, mu4e-compose-complete-ignore-address-regexp shouldn't
match anything.
This commit is contained in:
djcb 2016-02-18 19:28:21 +02:00
parent 91b622dc16
commit 961dba6d3e
1 changed files with 1 additions and 1 deletions

View File

@ -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)