;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.63 $
+;; Version: $Revision: 0.64 $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;;
(defconst mime-view-RCS-ID
- "$Id: mime-view.el,v 0.63 1997-03-17 17:16:17 morioka Exp $")
+ "$Id: mime-view.el,v 0.64 1997-03-17 17:18:29 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
)
(defun mime-view-quit ()
+ "Quit from MIME-View buffer.
+It calls function registered in variable
+`mime-view-quitting-method-alist'."
(interactive)
- (let ((r (save-excursion
- (set-buffer (mime::preview-content-info/buffer
- (mime-preview/point-pcinfo (point))))
- (assq major-mode mime-view-quitting-method-alist)
- )))
+ (let ((r (assq mime::preview/original-major-mode
+ mime-view-quitting-method-alist)))
(if r
(funcall (cdr r))
)))