From bbda175380b8c24538b6cde5bce89047c2770a29 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 17 Mar 1997 13:32:52 +0000 Subject: [PATCH] `mime-preview/default-content-button-function' -> `mime-view-entity-button-function'. --- mime-view.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) ) -- 1.7.10.4