X-Git-Url: https://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/7352cadb4f2e48890a6692b5ac6783cce0e50808..2cf0ef3998a75a8e5bcd83f0a286d9660f1bdb0e:/emacs/notmuch-company.el 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