filename)
))
-(mm-define-method write-entity-body ((entity buffer) filename)
+(mm-define-method write-body ((entity buffer) filename)
(save-excursion
(set-buffer (mime-entity-buffer-internal entity))
(write-region-as-binary (mime-entity-body-start-internal entity)
filename)
))
+(defun eword-visible-field-p (field-name visible-fields invisible-fields)
+ (or (catch 'found
+ (while visible-fields
+ (let ((regexp (car visible-fields)))
+ (if (string-match regexp field-name)
+ (throw 'found t)
+ ))
+ (setq visible-fields (cdr visible-fields))
+ ))
+ (catch 'found
+ (while invisible-fields
+ (let ((regexp (car invisible-fields)))
+ (if (string-match regexp field-name)
+ (throw 'found nil)
+ ))
+ (setq invisible-fields (cdr invisible-fields))
+ )
+ t)))
+
(mm-define-method insert-decoded-header ((entity buffer)
&optional invisible-fields
visible-fields)