From: morioka Date: Mon, 17 Mar 1997 13:32:52 +0000 (+0000) Subject: `mime-preview/default-content-button-function' -> X-Git-Tag: Hokutetsu-Ishikawa-new~88 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbda175380b8c24538b6cde5bce89047c2770a29;p=elisp%2Fsemi.git `mime-preview/default-content-button-function' -> `mime-view-entity-button-function'. --- diff --git a/mime-view.el b/mime-view.el index f468f97..c44d719 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.41 $ +;; Version: $Revision: 0.42 $ ;; 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.41 1997-03-17 13:28:35 morioka Exp $") + "$Id: mime-view.el,v 0.42 1997-03-17 13:32:52 morioka Exp $") (defconst mime-view-version (get-version-string mime-view-RCS-ID)) @@ -280,8 +280,9 @@ Each elements are regexp of field-name. [mime-view.el]") (function mime-view-play-current-entity)) )) -(defun mime-preview/default-content-button-function +(defun mime-view-entity-button-function (rcnum cinfo ctype params subj encoding) + "Insert entity button conditionally." (if (and (consp rcnum) (not (member ctype @@ -517,8 +518,7 @@ The compressed face will be piped to this command.") (set-buffer obuf) (setq nb (point)) (narrow-to-region nb nb) - (mime-preview/default-content-button-function - rcnum cinfo ctype params subj encoding) + (mime-view-entity-button-function rcnum cinfo ctype params subj encoding) (if (mime-view-header-visible-p rcnum cinfo ctype) (mime-preview/display-header beg he) )