From: morioka Date: Mon, 17 Mar 1997 05:06:33 +0000 (+0000) Subject: `mime-preview/decode-content' -> `mime-play-entity'. X-Git-Tag: Hokutetsu-Ishikawa-new~104 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=259acb30f8500da2ab795178b9f1ecd848de9de8;p=elisp%2Fsemi.git `mime-preview/decode-content' -> `mime-play-entity'. --- diff --git a/mime-play.el b/mime-play.el index 9514217..d88d09d 100644 --- a/mime-play.el +++ b/mime-play.el @@ -5,7 +5,7 @@ ;; Author: MORIOKA Tomohiko ;; Created: 1995/9/26 (separated from tm-view.el) ;; Renamed: 1997/2/21 from tm-play.el -;; Version: $Id: mime-play.el,v 0.19 1997-03-17 04:41:21 morioka Exp $ +;; Version: $Id: mime-play.el,v 0.20 1997-03-17 05:05:14 morioka Exp $ ;; Keywords: MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -37,8 +37,15 @@ (defvar mime-preview/after-decoded-position nil) -(defun mime-preview/decode-content (&optional mode) +(defun mime-play-entity (&optional mode) + "Play current entity. +It decodes current entity to call internal or external method. The +method is selected from variable `mime/content-decoding-condition'. +If MODE is specified, play as it. Default MODE is \"play\"." (interactive) + (or mode + (setq mode "play") + ) (let ((pc (mime-preview/point-pcinfo (point)))) (if pc (let ((the-buf (current-buffer))) diff --git a/mime-view.el b/mime-view.el index 72a96dc..ba98943 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.28 $ +;; Version: $Revision: 0.29 $ ;; 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.28 1997-03-17 04:43:29 morioka Exp $") + "$Id: mime-view.el,v 0.29 1997-03-17 05:06:33 morioka Exp $") (defconst mime-view-version (get-version-string mime-view-RCS-ID)) @@ -895,23 +895,23 @@ button-2 Move to point under the mouse cursor (setq rpcl (cdr rpcl)) )))) -(autoload 'mime-preview/decode-content "mime-play") +(autoload 'mime-play-content "mime-play") (defvar mime-view-decoding-mode "play" "MIME body decoding mode") (defun mime-view-play-content () (interactive) - (mime-preview/decode-content "play") + (mime-play-content "play") ) (defun mime-view-extract-content () (interactive) - (mime-preview/decode-content "extract") + (mime-play-content "extract") ) (defun mime-view-print-content () (interactive) - (mime-preview/decode-content "print") + (mime-play-content "print") ) (defun mime-view-follow-content ()