X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-company.el;h=610e223deffc6eec337da69e28a3ecc5be8881bd;hp=0619c7ef739951c6618b67c47c565bc457b754dd;hb=2cf0ef3998a75a8e5bcd83f0a286d9660f1bdb0e;hpb=7352cadb4f2e48890a6692b5ac6783cce0e50808 diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el index 0619c7ef..610e223d 100644 --- a/emacs/notmuch-company.el +++ b/emacs/notmuch-company.el @@ -72,7 +72,7 @@ (lambda (callback) ;; First run quick asynchronous harvest based on what the user entered so far (notmuch-address-harvest - (format "to:%s*" arg) nil + arg nil (lambda (_proc _event) (funcall callback (notmuch-address-matching arg)) ;; Then start the (potentially long-running) full asynchronous harvest if necessary