projects
/
elisp
/
flim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14165a3
)
(mime-entity-fetch-field): New method of luna-class `mime-entity'.
author
morioka
<morioka>
Sat, 29 May 1999 10:47:52 +0000
(10:47 +0000)
committer
morioka
<morioka>
Sat, 29 May 1999 10:47:52 +0000
(10:47 +0000)
mime-def.el
patch
|
blob
|
history
diff --git
a/mime-def.el
b/mime-def.el
index
89a696d
..
e36dbc4
100644
(file)
--- a/
mime-def.el
+++ b/
mime-def.el
@@
-224,6
+224,13
@@
(luna-define-internal-accessors 'mime-entity)
+(luna-define-method mime-entity-fetch-field ((entity mime-entity)
+ field-name)
+ (or (symbolp field-name)
+ (setq field-name (intern (capitalize (capitalize field-name)))))
+ (cdr (assq field-name
+ (mime-entity-original-header-internal entity))))
+
;;; @ for mm-backend
;;;