X-Git-Url: https://git.notmuchmail.org/git?p=obsolete%2Fnotmuch-old;a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=329d3427ee33cab5546d6ab847ac9e52a93c1a2c;hp=24eebffa3b97699d0d566d85f8c17dc40fc69642;hb=43251ab653a20c0f7cca709d36da895c3558e125;hpb=2626d815733b5ee04080bc81c75311d812b7c6f5 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 24eebffa..329d3427 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -146,7 +146,7 @@ list." (unless (bolp) (insert "\n"))) (defun notmuch-mua-reply (query-string &optional sender reply-all) - (let ((args '("reply" "--format=json" "--format-version=1")) + (let ((args '("reply" "--format=sexp" "--format-version=1")) reply original) (when notmuch-show-process-crypto @@ -158,7 +158,7 @@ list." (setq args (append args (list query-string))) ;; Get the reply object as JSON, and parse it into an elisp object. - (setq reply (apply #'notmuch-call-notmuch-json args)) + (setq reply (apply #'notmuch-call-notmuch-sexp args)) ;; Extract the original message to simplify the following code. (setq original (plist-get reply :original))