;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.62 $
+;; Version: $Revision: 0.63 $
;; 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.62 1997-03-17 17:12:13 morioka Exp $")
+ "$Id: mime-view.el,v 0.63 1997-03-17 17:16:17 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
(defvar mime-view-over-to-previous-method-alist nil)
(defvar mime-view-over-to-next-method-alist nil)
-(defvar mime-view-show-summary-method nil)
+(defvar mime-view-show-summary-method nil
+ "Alist of major-mode vs. show-summary-method.")
;;; @@ following method
)))
(defun mime-view-show-summary ()
+ "Show summary.
+It calls function registered in variable
+`mime-view-show-summary-method'."
(interactive)
- (let ((r (save-excursion
- (set-buffer
- (mime::preview-content-info/buffer
- (mime-preview/point-pcinfo (point)))
- )
- (assq major-mode mime-view-show-summary-method)
- )))
+ (let ((r (assq mime::preview/original-major-mode
+ mime-view-show-summary-method)))
(if r
(funcall (cdr r))
)))