X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-query.el;h=921f62461760d51a3085cacfeda42f984e13dd48;hb=40de245862a26f008c97ea7460620872bda808ae;hp=0d6e7759a6b57593597dbcdb70afe5128ee1b3bf;hpb=8cbb5114a20c1217f23977fd5edca99a0b7a2955;p=notmuch diff --git a/emacs/notmuch-query.el b/emacs/notmuch-query.el index 0d6e7759..921f6246 100644 --- a/emacs/notmuch-query.el +++ b/emacs/notmuch-query.el @@ -35,7 +35,7 @@ is a possibly empty forest of replies. (json-false 'nil)) (with-temp-buffer (progn - (apply 'call-process (append (list notmuch-command nil t nil) args)) + (apply 'call-process (append (list notmuch-command nil (list t nil) nil) args)) (goto-char (point-min)) (json-read))))) @@ -47,7 +47,7 @@ is a possibly empty forest of replies. (apply 'append (mapcar (lambda (tree) - (funcall mapper fn tree)) + (funcall mapper function tree)) seq))) (defun notmuch-query-map-threads (fn threads)