;; 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.9 1997-03-15 21:20:02 morioka Exp $
+;; Version: $Id: mime-pgp.el,v 0.10 1997-03-15 22:27:53 morioka Exp $
;; Keywords: PGP, security, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(new-name (format "%s-%s" (buffer-name) cnum))
(mother mime::article/preview-buffer)
(mode major-mode)
- code-converter
+ text-decoder
(str (buffer-substring beg end))
)
(set-buffer (get-buffer-create new-name))
(while (re-search-forward "^- -" nil t)
(replace-match "-")
)
- (setq code-converter
+ (setq text-decoder
(cdr (or (assq mode mime-text-decoder-alist)
(assq t mime-text-decoder-alist))))
)
(and
(search-forward "\n\n")
(match-end 0)))
- (setq code-converter (function mime-charset/decode-buffer))
+ (setq text-decoder (function mime-charset/decode-buffer))
))
(setq major-mode 'mime/show-message-mode)
- (setq mime::article/code-converter code-converter)
+ (setq mime-raw::text-decoder text-decoder)
(save-window-excursion (mime-view-mode mother))
(set-window-buffer p-win mime::article/preview-buffer)
))