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:
27f6919
)
(mime-type/subtype-string): New function (moved from
author
morioka
<morioka>
Wed, 6 May 1998 10:57:54 +0000
(10:57 +0000)
committer
morioka
<morioka>
Wed, 6 May 1998 10:57:54 +0000
(10:57 +0000)
semi/mime-parse.el).
mime-def.el
patch
|
blob
|
history
diff --git
a/mime-def.el
b/mime-def.el
index
779c984
..
8e40b08
100644
(file)
--- a/
mime-def.el
+++ b/
mime-def.el
@@
-99,6
+99,17
@@
"][" quoted-printable-hex-chars "]"))
+;;; @ utility
+;;;
+
+(defsubst mime-type/subtype-string (type &optional subtype)
+ "Return type/subtype string from TYPE and SUBTYPE."
+ (if type
+ (if subtype
+ (format "%s/%s" type subtype)
+ (format "%s" type))))
+
+
;;; @ end
;;;