]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-query.el
cli/show: make --decrypt take a keyword.
[notmuch] / emacs / notmuch-query.el
index 436ad160a05b8c0f9a698de1ba9fb025fc272912..563e4acf57df3ab2c017085aea4c03d0677c3b72 100644 (file)
@@ -30,9 +30,9 @@ A thread is a forest or list of trees. A tree is a two element
 list where the first element is a message, and the second element
 is a possibly empty forest of replies.
 "
-  (let ((args '("show" "--format=sexp" "--format-version=1")))
+  (let ((args '("show" "--format=sexp" "--format-version=4")))
     (if notmuch-show-process-crypto
-       (setq args (append args '("--decrypt"))))
+       (setq args (append args '("--decrypt=true"))))
     (setq args (append args search-terms))
     (apply #'notmuch-call-notmuch-sexp args)))