rearrangement.
authormorioka <morioka>
Wed, 26 May 1999 01:04:09 +0000 (01:04 +0000)
committermorioka <morioka>
Wed, 26 May 1999 01:04:09 +0000 (01:04 +0000)
mime.el

diff --git a/mime.el b/mime.el
index 674db7c..0f06476 100644 (file)
--- 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
 ;;;