From 74f839548b51f67522142be835ee4ac30b4d4484 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 5 Sep 1997 08:10:44 +0000 Subject: [PATCH] (mime-entity-info-point-min): New inline function. (mime-entity-info-point-max): New inline function. (mime-parse-multipart): Use `mime-entity-info-point-max' instead of `mime::content-info/point-max'. --- mime-parse.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mime-parse.el b/mime-parse.el index bd51c74..6e4beff 100644 --- a/mime-parse.el +++ b/mime-parse.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: mime-parse.el,v 0.17 1997-09-05 06:43:14 morioka Exp $ +;; Version: $Id: mime-parse.el,v 0.18 1997-09-05 08:10:44 morioka Exp $ ;; Keywords: parse, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -202,6 +202,12 @@ and return parsed it. [mime-parse.el]" children) )) +(defsubst mime-entity-info-point-min (entity-info) + (mime::content-info/point-min entity-info)) + +(defsubst mime-entity-info-point-max (entity-info) + (mime::content-info/point-max entity-info)) + (defun mime-parse-multipart (boundary primtype subtype params encoding rcnum) (goto-char (point-min)) (let* ((dash-boundary (concat "--" boundary)) @@ -234,7 +240,7 @@ and return parsed it. [mime-parse.el]" (setq ret (mime-parse-message dc-ctl "7bit" (cons i rcnum))) ) (setq children (cons ret children)) - (goto-char (mime::content-info/point-max ret)) + (goto-char (mime-entity-info-point-max ret)) (goto-char (setq cb ncb)) (setq i (1+ i)) ) -- 1.7.10.4