From: morioka Date: Tue, 18 Mar 1997 15:21:28 +0000 (+0000) Subject: `mime::preview/original-major-mode' -> X-Git-Tag: Hokutetsu-Ishikawa-new~45 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c6085a826f25e917dccd361c3a468e4686bc307;p=elisp%2Fsemi.git `mime::preview/original-major-mode' -> `mime-view-original-major-mode'. --- diff --git a/mime-view.el b/mime-view.el index 7f58305..a6eee66 100644 --- a/mime-view.el +++ b/mime-view.el @@ -6,7 +6,7 @@ ;; Created: 1994/7/13 ;; Renamed: 1994/8/31 from tm-body.el ;; Renamed: 1997/02/19 from tm-view.el -;; Version: $Revision: 0.74 $ +;; Version: $Revision: 0.75 $ ;; Keywords: MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -40,7 +40,7 @@ ;;; (defconst mime-view-RCS-ID - "$Id: mime-view.el,v 0.74 1997-03-18 15:16:56 morioka Exp $") + "$Id: mime-view.el,v 0.75 1997-03-18 15:21:28 morioka Exp $") (defconst mime-view-version (get-version-string mime-view-RCS-ID)) @@ -371,14 +371,16 @@ message/rfc822, content-infos of other entities are included in "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.") (make-variable-buffer-local 'mime-raw-buffer) -(make-variable-buffer-local 'mime::preview/original-major-mode) +(defvar mime-view-original-major-mode nil + "Major-mode in mime-raw-buffer.") +(make-variable-buffer-local 'mime-view-original-major-mode) + (make-variable-buffer-local 'mime::preview/original-window-configuration) @@ -448,7 +450,7 @@ The compressed face will be piped to this command.") (set-buffer mime-mother-buffer) (mime-preview/get-original-major-mode) ) - mime::preview/original-major-mode)) + mime-view-original-major-mode)) ;;; @ buffer setup @@ -479,7 +481,7 @@ The compressed face will be piped to this command.") (widen) (erase-buffer) (setq mime-raw-buffer the-buf) - (setq mime::preview/original-major-mode mode) + (setq mime-view-original-major-mode mode) (setq major-mode 'mime-view-mode) (setq mode-name "MIME-View") (while pcl @@ -555,7 +557,7 @@ The compressed face will be piped to this command.") (save-restriction (narrow-to-region (point)(point)) (insert-buffer-substring mime-raw-buffer beg end) - (let ((f (cdr (assq mime::preview/original-major-mode + (let ((f (cdr (assq mime-view-original-major-mode mime-view-content-header-filter-alist)))) (if (functionp f) (funcall f) @@ -1037,7 +1039,7 @@ variable `mime-view-over-to-previous-method-alist'." (let ((point (previous-single-property-change (point) 'mime-view-cinfo))) (if point (goto-char point) - (let ((f (assq mime::preview/original-major-mode + (let ((f (assq mime-view-original-major-mode mime-view-over-to-previous-method-alist))) (if f (funcall (cdr f)) @@ -1052,7 +1054,7 @@ variable `mime-view-over-to-next-method-alist'." (let ((point (next-single-property-change (point) 'mime-view-cinfo))) (if point (goto-char point) - (let ((f (assq mime::preview/original-major-mode + (let ((f (assq mime-view-original-major-mode mime-view-over-to-next-method-alist))) (if f (funcall (cdr f)) @@ -1068,7 +1070,7 @@ If reached to (point-max), it calls function registered in variable (setq h (1- (window-height))) ) (if (= (point) (point-max)) - (let ((f (assq mime::preview/original-major-mode + (let ((f (assq mime-view-original-major-mode mime-view-over-to-next-method-alist))) (if f (funcall (cdr f)) @@ -1091,7 +1093,7 @@ If reached to (point-min), it calls function registered in variable (setq h (1- (window-height))) ) (if (= (point) (point-min)) - (let ((f (assq mime::preview/original-major-mode + (let ((f (assq mime-view-original-major-mode mime-view-over-to-previous-method-alist))) (if f (funcall (cdr f)) @@ -1129,7 +1131,7 @@ If reached to (point-min), it calls function registered in variable It calls function registered in variable `mime-view-quitting-method-alist'." (interactive) - (let ((r (assq mime::preview/original-major-mode + (let ((r (assq mime-view-original-major-mode mime-view-quitting-method-alist))) (if r (funcall (cdr r)) @@ -1140,7 +1142,7 @@ It calls function registered in variable It calls function registered in variable `mime-view-show-summary-method'." (interactive) - (let ((r (assq mime::preview/original-major-mode + (let ((r (assq mime-view-original-major-mode mime-view-show-summary-method))) (if r (funcall (cdr r))