Fix replying to gpg encrypted mails (#186)
This commit is contained in:
@ -433,7 +433,7 @@ e.g. '/drafts'.
|
||||
(mu4e~proc-escape path) (mu4e~proc-escape maildir)))
|
||||
|
||||
|
||||
(defun mu4e~proc-compose (type &optional docid)
|
||||
(defun mu4e~proc-compose (type decrypt &optional docid)
|
||||
"Start composing a message of certain TYPE (a symbol, either
|
||||
`forward', `reply', `edit' or `new', based on an original
|
||||
message (ie, replying to, forwarding, editing) with DOCID or nil
|
||||
@ -445,8 +445,9 @@ The result will be delivered to the function registered as
|
||||
(mu4e-error "Unsupported compose-type %S" type))
|
||||
(unless (eq (null docid) (eq type 'new))
|
||||
(mu4e-error "`new' implies docid not-nil, and vice-versa"))
|
||||
(mu4e~proc-send-command "cmd:compose type:%s docid:%d"
|
||||
(symbol-name type) docid))
|
||||
(mu4e~proc-send-command
|
||||
"cmd:compose type:%s docid:%d extract-encrypted:%s use-agent:true"
|
||||
(symbol-name type) docid (if decrypt "true" "false")))
|
||||
|
||||
(defun mu4e~proc-mkdir (path)
|
||||
"Create a new maildir-directory at filesystem PATH."
|
||||
|
||||
Reference in New Issue
Block a user