X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-address.el;h=64887a43fe652b04332e0e3ed9b15577656cc9f8;hb=c6f43306ccb35a5e885b186fbf87394d2f036813;hp=d504ff2d9fd4e0a952116761104a28fb1a1d2602;hpb=ab022657776af0bb47e72caf2517464ca59e7d48;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)))