&optional invisible-fields
visible-fields)
(let ((the-buf (current-buffer))
- (decoder-alist
- (cdr (assq 'wide mime-field-decoder-cache)))
+ (mode-obj (mime-find-field-presentation-method 'wide))
field-decoder
f-b p f-e field-name len field field-body)
(save-excursion
(setq field (intern
(capitalize (buffer-substring f-b (1- p))))
field-body (buffer-substring p f-e)
- field-decoder
- (cdr (or (assq field decoder-alist)
- (prog1
- (funcall mime-update-field-decoder-cache
- field 'wide)
- (setq decoder-alist
- (cdr (assq
- 'wide
- mime-field-decoder-cache)))))))
+ field-decoder (inline (mime-find-field-decoder-internal
+ field mode-obj)))
(with-current-buffer the-buf
(insert field-name)
(insert (if field-decoder