]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-address.el
emacs/address: use member instead of memq to check for pair
[notmuch] / emacs / notmuch-address.el
index f937e708406bbb73c3c9f164a904385c2e5cf91b..64887a43fe652b04332e0e3ed9b15577656cc9f8 100644 (file)
@@ -159,7 +159,7 @@ matching `notmuch-address-completion-headers-regexp'.
                       #'notmuch-address-expand-name)))
       (when setup-company
        (notmuch-company-setup))
-      (unless (memq pair message-completion-alist)
+      (unless (member pair message-completion-alist)
        (setq message-completion-alist
              (push pair message-completion-alist)))))