From: morioka Date: Sat, 15 Mar 1997 22:27:53 +0000 (+0000) Subject: (mime-article/view-application/pgp): `mime::article/code-converter' -> X-Git-Tag: Hokutetsu-Ishikawa-new~119 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c90f28a389a0d802a2affcd5aafd1ece72745a2;p=elisp%2Fsemi.git (mime-article/view-application/pgp): `mime::article/code-converter' -> `mime-raw::text-decoder'. --- diff --git a/mime-pgp.el b/mime-pgp.el index ea8c575..e463ab9 100644 --- a/mime-pgp.el +++ b/mime-pgp.el @@ -5,7 +5,7 @@ ;; Author: MORIOKA Tomohiko ;; 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). @@ -55,7 +55,7 @@ (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)) @@ -82,7 +82,7 @@ (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)))) ) @@ -96,10 +96,10 @@ (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) ))