* lisp/mail/rmail.el (rmail-epa-decrypt-1): Include the just-decrypted text
as element 4 of the value.
(rmail-epa-decrypt): Take the text to insert from that element.
(current-buffer))))
(list armor-start (- (point-max) after-end) mime
- armor-end-regexp)))
+ armor-end-regexp
+ (buffer-substring armor-start (- (point-max) after-end)))))
(declare-function rmail-mime-entity-truncated "rmailmm" (entity))
;; Found as expected -- now replace it with the decrypt.
(when armor-end
(delete-region armor-start armor-end)
- (insert-buffer-substring from-buffer (nth 0 d) (nth 1 d)))
+ (insert (nth 4 d)))
;; Change the mime type (if this is in a mime part)
;; so this part will display by default