]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-company.el
emacs: address completion, allow sender/recipient and filters
[notmuch] / emacs / notmuch-company.el
index b881d6dc9aa3f7a8c4f2b257507e8cdb397bec67..610e223deffc6eec337da69e28a3ecc5be8881bd 100644 (file)
@@ -16,7 +16,7 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+;; along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 
@@ -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