branch: externals/ebdb commit bcab2b61a4f762a1889e29ef2ff7e691504e8003 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Always ignore "undisclosed recipients" string in message headers * ebdb-mua.el (ebdb-get-address-components): No one's going to create a record for that. --- ebdb-mua.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ebdb-mua.el b/ebdb-mua.el index e72a2fd..5fc4002 100644 --- a/ebdb-mua.el +++ b/ebdb-mua.el @@ -720,7 +720,9 @@ are discarded as appropriate." "@" (nth 1 (split-string mail "@")))) mail-list)) - (ebdb-mua-test-headers (car headers) address ignore-address)) + (not (string-match-p "undisclosed recipients" mail)) + (ebdb-mua-test-headers + (car headers) address ignore-address)) ;; Add each address only once. (Use MAIL-LIST for book keeping.) ;; Thus if we care about whether an address gets associated with ;; one or another header, the order of elements in