(switch-to-buffer buf)
))
-(set-alist 'mime-view-quitting-method-alist
+(set-alist 'mime-preview-quitting-method-alist
'mime-temp-message-mode
- (function mime-edit-quitting-method)
- )
+ #'mime-edit-quitting-method)
;;; @ edit again
(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'."
+It is registered to variable `mime-preview-quitting-method-alist'."
(let ((mother mime-mother-buffer)
(win-conf mime-preview-original-window-configuration)
)
;;; @@ quitting method
;;;
-(defvar mime-view-quitting-method-alist
+(defvar mime-preview-quitting-method-alist
'((mime-show-message-mode
. mime-view-quitting-method-for-mime-show-message-mode))
"Alist of major-mode vs. quitting-method of mime-view.")
(defun mime-preview-quit ()
"Quit from MIME-preview buffer.
It calls function registered in variable
-`mime-view-quitting-method-alist'."
+`mime-preview-quitting-method-alist'."
(interactive)
(let ((r (assq mime-preview-original-major-mode
- mime-view-quitting-method-alist)))
+ mime-preview-quitting-method-alist)))
(if r
(funcall (cdr r))
)))