;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Created: 1995/12/7
;; Renamed: 1997/2/27 from tm-pgp.el
-;; Version: $Id: mime-pgp.el,v 0.21 1997-09-05 08:13:57 morioka Exp $
+;; Version: $Id: mime-pgp.el,v 0.22 1997-10-03 11:57:05 shuhei-k Exp $
;; Keywords: PGP, security, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(while (re-search-forward "\n" nil t)
(replace-match "\r\n")
)
- (as-binary-output-file (write-file orig-file))
+ (as-binary-output-file (write-region (point-min)(point-max) orig-file))
(kill-buffer (current-buffer))
)
(save-excursion (mime-show-echo-buffer))
(insert-buffer-substring raw-buf p-min end)
)
(mime-decode-region (point-min)(point-max) encoding)
- (as-binary-output-file (write-file sig-file))
+ (as-binary-output-file (write-region (point-min)(point-max) sig-file))
(or (mime::article/call-pgp-to-check-signature
mime-echo-buffer-name orig-file)
(let (pgp-id)