]> git.cworth.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
cli/reply: make --decrypt take a keyword
[notmuch] / emacs / notmuch-mua.el
index fd64b362b542b9bef5c169c29fb52ba2128c4f4e..59b546a65f072b18420e80aced14f22f938fac87 100644 (file)
@@ -181,7 +181,7 @@ mutiple parts get a header."
        reply
        original)
     (when process-crypto
-      (setq args (append args '("--decrypt"))))
+      (setq args (append args '("--decrypt=true"))))
 
     (if reply-all
        (setq args (append args '("--reply-to=all")))
@@ -218,7 +218,7 @@ mutiple parts get a header."
                     else
                     collect pair)))
          (notmuch-mua-mail (plist-get reply-headers :To)
-                           (plist-get reply-headers :Subject)
+                           (notmuch-sanitize (plist-get reply-headers :Subject))
                            (notmuch-headers-plist-to-alist reply-headers)
                            nil (notmuch-mua-get-switch-function))))