mirror of https://github.com/djcb/mu.git
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:
parent
91b622dc16
commit
961dba6d3e
|
@ -655,7 +655,7 @@ or (rfc822-string . CONTACT) otherwise."
|
||||||
(when contact
|
(when contact
|
||||||
(let ((name (plist-get contact :name))
|
(let ((name (plist-get contact :name))
|
||||||
(mail (plist-get contact :mail))
|
(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)))
|
(when (and mail (not (string-match ignore-rx mail)))
|
||||||
(cons
|
(cons
|
||||||
(if name (format "%s <%s>" (mu4e~rfc822-quoteit name) mail) mail)
|
(if name (format "%s <%s>" (mu4e~rfc822-quoteit name) mail) mail)
|
||||||
|
|
Loading…
Reference in New Issue