From 2796a8a98cd0a9dee63b31d3df4df7c1c1e98861 Mon Sep 17 00:00:00 2001 From: morioka Date: Sat, 16 May 1998 02:38:39 +0000 Subject: [PATCH] (mime-content-type-parameter): New function. --- mime-parse.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mime-parse.el b/mime-parse.el index 0efa86e..2741a04 100644 --- a/mime-parse.el +++ b/mime-parse.el @@ -122,6 +122,10 @@ and return parsed it. Format of return value is as same as "Return primary-type of CONTENT-TYPE." (cddr content-type)) +(defsubst mime-content-type-parameter (content-type parameter) + "Return PARAMETER value of CONTENT-TYPE." + (cdr (assoc parameter (mime-content-type-parameters content-type)))) + ;;; @ Content-Disposition ;;; -- 1.7.10.4