;; 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.10 1997-03-15 22:27:53 morioka Exp $
+;; Version: $Id: mime-pgp.el,v 0.11 1997-03-15 22:40:50 morioka Exp $
;; Keywords: PGP, security, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(p-win (or (get-buffer-window mime::article/preview-buffer)
(get-largest-window)))
(new-name (format "%s-%s" (buffer-name) cnum))
+ (the-buf (current-buffer))
(mother mime::article/preview-buffer)
(mode major-mode)
- text-decoder
- (str (buffer-substring beg end))
- )
+ text-decoder)
(set-buffer (get-buffer-create new-name))
(erase-buffer)
- (insert str)
+ (insert-buffer-substring the-buf beg end)
(cond ((progn
(goto-char (point-min))
(re-search-forward "^-+BEGIN PGP SIGNED MESSAGE-+$" nil t)