;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Created: 1995/9/26 (separated from tm-view.el)
;; Renamed: 1997/2/21 from tm-play.el
-;; Version: $Id: mime-play.el,v 0.37 1997-05-07 09:32:34 morioka Exp $
+;; Version: $Id: mime-play.el,v 0.38 1997-05-07 09:37:54 morioka Exp $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;; @ rot13-47
;;;
-(require 'view)
-
-(defconst mime-view-text/plain-mode-map (copy-keymap view-mode-map))
-(define-key mime-view-text/plain-mode-map
- "q" (function mime-view-text/plain-exit))
-
-(defun mime-view-text/plain-mode ()
- "\\{mime-view-text/plain-mode-map}"
- (setq buffer-read-only t)
- (setq major-mode 'mime-view-text/plain-mode)
- (setq mode-name "MIME-View text/plain")
- (use-local-map mime-view-text/plain-mode-map)
- )
-
-(defun mime-view-text/plain-exit ()
- (interactive)
- (kill-buffer (current-buffer))
- )
-
(defun mime-display-caesar (beg end cal)
"Internal method for mime-view to display ROT13-47-48 message."
(let* ((cnum (mime-article/point-content-number beg))
(tm:caesar-region)
)
(set-buffer-modified-p nil)
- (mime-view-text/plain-mode)
+ (view-mode-enter mother 'kill-buffer)
))