diff options
-rw-r--r-- | piem-notmuch.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/piem-notmuch.el b/piem-notmuch.el index c712366..8b2a353 100644 --- a/piem-notmuch.el +++ b/piem-notmuch.el @@ -64,10 +64,9 @@ have surrounding brackets." (equal query (string-trim-right (with-output-to-string - (with-current-buffer standard-output - (call-process notmuch-command - nil '(t nil) nil - "search" "--output=messages" query))))))) + (call-process notmuch-command + nil (list standard-output nil) nil + "search" "--output=messages" query)))))) (defun piem-notmuch-mid-to-thread (mid) "Return a function that inserts an mbox for MID's thread." |