;; 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.28 1997-03-18 15:11:32 morioka Exp $
+;; Version: $Id: mime-play.el,v 0.29 1997-03-18 15:17:48 morioka Exp $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(defun mime-view-quitting-method-for-mime-show-message-mode ()
"Quitting method for mime-view.
It is registered to variable `mime-view-quitting-method-alist'."
- (let ((mother mime::preview/mother-buffer)
+ (let ((mother mime-mother-buffer)
(win-conf mime::preview/original-window-configuration)
)
(kill-buffer mime-raw-buffer)
;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.73 $
+;; Version: $Revision: 0.74 $
;; 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.73 1997-03-18 14:56:16 morioka Exp $")
+ "$Id: mime-view.el,v 0.74 1997-03-18 15:16:56 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
;;; @@@ in view buffer
;;;
-(make-variable-buffer-local 'mime::preview/mother-buffer)
+(defvar mime-mother-buffer nil
+ "Mother buffer corresponding with the (MIME-View) buffer.
+If current MIME-View buffer is generated by other buffer, such as
+message/partial, it is called `mother-buffer'.")
+
+(make-variable-buffer-local 'mime-mother-buffer)
(defvar mime-raw-buffer nil
"Raw buffer corresponding with the (MIME-View) buffer.")
;;;
(defun mime-preview/get-original-major-mode ()
- (if mime::preview/mother-buffer
+ (if mime-mother-buffer
(save-excursion
- (set-buffer mime::preview/mother-buffer)
+ (set-buffer mime-mother-buffer)
(mime-preview/get-original-major-mode)
)
mime::preview/original-major-mode))
(setq mime::preview/original-window-configuration win-conf)
(if mother
(progn
- (setq mime::preview/mother-buffer mother)
+ (setq mime-mother-buffer mother)
))
(mime-view-define-keymap default-keymap-or-function)
(let ((point (next-single-property-change (point-min) 'mime-view-cinfo)))
": "
(save-excursion
(set-buffer the-buf)
- (set-buffer mime::preview/mother-buffer)
+ (set-buffer mime-mother-buffer)
(set-buffer mime-raw-buffer)
(std11-field-body field-name)
)