`mime-write-decoded-region'.
(set-buffer (setq kbuf (get-buffer-create mime-temp-buffer-name)))
(insert-buffer-substring raw-buf p-min end)
)
- (mime-decode-region (point-min)(point-max) encoding)
- (as-binary-output-file (write-region (point-min)(point-max) sig-file))
+ (mime-write-decoded-region (point-min)(point-max) sig-file encoding)
(or (mime-pgp-check-signature mime-echo-buffer-name orig-file)
(let (pgp-id)
(save-excursion