From: morioka Date: Fri, 5 Sep 1997 08:10:44 +0000 (+0000) Subject: (mime-entity-info-point-min): New inline function. X-Git-Tag: semi-0_112~35 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f839548b51f67522142be835ee4ac30b4d4484;p=elisp%2Fsemi.git (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'. --- 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)) )