From eada61e247d899d2eb6957a7d9866fc83b8b4ff3 Mon Sep 17 00:00:00 2001 From: morioka Date: Wed, 26 May 1999 01:04:09 +0000 Subject: [PATCH] rearrangement. --- mime.el | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/mime.el b/mime.el index 674db7c..0f06476 100644 --- a/mime.el +++ b/mime.el @@ -143,32 +143,32 @@ If MESSAGE is specified, it is regarded as root entity." (null (mime-entity-parent entity message))) -;;; @ Entity Buffer +;;; @ Header buffer ;;; -(luna-define-generic mime-entity-buffer (entity)) +(luna-define-generic mime-entity-header-buffer (entity)) -(make-obsolete - 'mime-entity-buffer - "use mime-entity-header-buffer or mime-entity-body-buffer instead.") +(luna-define-generic mime-goto-header-start-point (entity) + "Set buffer and point to header-start-position of ENTITY.") -(luna-define-generic mime-entity-header-buffer (entity)) + +;;; @ Body buffer +;;; (luna-define-generic mime-entity-body-buffer (entity)) -(luna-define-generic mime-entity-point-min (entity)) +(luna-define-generic mime-entity-body-start-point (entity) + "Set buffer and point to body-start-position of ENTITY.") -(luna-define-generic mime-entity-point-max (entity)) +(define-obsolete-function-alias + 'mime-entity-body-start 'mime-entity-body-start-point) (luna-define-generic mime-entity-body-end-point (entity) - "Set buffer and point to body-start-position of ENTITY.") + "Set buffer and point to body-end-position of ENTITY.") (define-obsolete-function-alias 'mime-entity-body-end 'mime-entity-body-end-point) -(luna-define-generic mime-goto-header-start-point (entity) - "Set buffer and point to header-start-position of ENTITY.") - (luna-define-generic mime-goto-body-start-point (entity) "Set buffer and point to body-start-position of ENTITY.") @@ -176,6 +176,20 @@ If MESSAGE is specified, it is regarded as root entity." "Set buffer and point to body-end-position of ENTITY.") +;;; @ Entity buffer (obsolete) +;;; + +(luna-define-generic mime-entity-buffer (entity)) + +(make-obsolete + 'mime-entity-buffer + "use mime-entity-header-buffer or mime-entity-body-buffer instead.") + +(luna-define-generic mime-entity-point-min (entity)) + +(luna-define-generic mime-entity-point-max (entity)) + + ;;; @ Entity Header ;;; -- 1.7.10.4