X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-address.el;h=64887a43fe652b04332e0e3ed9b15577656cc9f8;hb=c09aad479464965f5296438eeb3afba0ec64d13b;hp=d504ff2d9fd4e0a952116761104a28fb1a1d2602;hpb=a34f30888e7874fba2032a066a7babce1dd3f69f;p=notmuch diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el index d504ff2d..64887a43 100644 --- a/emacs/notmuch-address.el +++ b/emacs/notmuch-address.el @@ -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))))) @@ -317,7 +317,7 @@ execution, CALLBACK is called when harvesting finishes." (when config-query (format " and (%s)" config-query))) from-or-to-me-query)) - (args `("address" "--format=sexp" "--format-version=2" + (args `("address" "--format=sexp" "--format-version=4" ,(if sent "--output=recipients" "--output=sender") "--deduplicate=address" ,query)))