`mime-entity-read-field'.
(let ((filename
(or (mime-entity-filename entity)
(let ((subj
- (or (mime-entity-read-field entity 'Content-Description)
- (mime-entity-read-field entity 'Subject))))
+ (or (mime-read-field 'Content-Description entity)
+ (mime-read-field 'Subject entity))))
(if (and subj
(or (string-match mime-view-file-name-regexp-1 subj)
(string-match mime-view-file-name-regexp-2 subj)))
))))
(defun mime-view-entity-title (entity)
- (or (mime-entity-read-field entity 'Content-Description)
- (mime-entity-read-field entity 'Subject)
+ (or (mime-read-field 'Content-Description entity)
+ (mime-read-field 'Subject entity)
(mime-entity-filename entity)
""))