branch: externals/ebdb
commit c0979b02ca6bd1f67d2ed44ecb774738fd063ce7
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Typo in ebdb-mua-check-header
    
    * ebdb-mua.el (ebdb-mua-check-header): Should be checking
      "recipients", not "recipient".
---
 ebdb-mua.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb-mua.el b/ebdb-mua.el
index 93de2c1..4c1dd68 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -669,7 +669,7 @@ variables `ebdb-user-mail-address-re',
                 (throw 'done (if invert nil t))))
              ((or (eq h-type header-type)
                   (and (eq h-type 'any)
-                       (memq header-type '(sender recipient))))
+                       (memq header-type '(sender recipients))))
               (when (string-match-p (cdr elt) (second address-parts))
                 (throw 'done (if invert nil t))))))
       (throw 'done t))))

Reply via email to