From: morioka Date: Wed, 2 Jul 1997 16:55:42 +0000 (+0000) Subject: `mime/content-type-subtype-regexp' -> `mime-media-type/subtype-regexp'. X-Git-Tag: semi-0_96~14 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=694e553f6784ee625c59567b911e280976c29498;p=elisp%2Fsemi.git `mime/content-type-subtype-regexp' -> `mime-media-type/subtype-regexp'. --- diff --git a/mime-def.el b/mime-def.el index 679ac9e..bdbd477 100644 --- a/mime-def.el +++ b/mime-def.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: mime-def.el,v 0.55 1997-07-02 16:43:25 morioka Exp $ +;; Version: $Id: mime-def.el,v 0.56 1997-07-02 16:55:41 morioka Exp $ ;; Keywords: definition, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -61,7 +61,7 @@ (defconst mime-token-regexp (concat "[^" mime-tspecials "]+")) (defconst mime-charset-regexp mime-token-regexp) -(defconst mime/content-type-subtype-regexp +(defconst mime-media-type/subtype-regexp (concat mime-token-regexp "/" mime-token-regexp)) (defconst mime/disposition-type-regexp mime-token-regexp) diff --git a/mime-parse.el b/mime-parse.el index dfe2ea9..6bdb4d8 100644 --- a/mime-parse.el +++ b/mime-parse.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: mime-parse.el,v 0.9 1997-07-02 16:43:26 morioka Exp $ +;; Version: $Id: mime-parse.el,v 0.10 1997-07-02 16:55:42 morioka Exp $ ;; Keywords: parse, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -107,10 +107,10 @@ which are string or symbol." (substring str e) )))) -(defconst mime::ctype-regexp (concat "^" mime/content-type-subtype-regexp)) +(defconst mime::ctype-regexp (concat "^" mime-media-type/subtype-regexp)) (defun mime-parse-Content-Type (string) - "Parse STRING as field-body of Content-Type field. [mime-parse.el]" + "Parse STRING as field-body of Content-Type field." (setq string (std11-unfold-string string)) (if (string-match mime::ctype-regexp string) (let* ((e (match-end 0)) @@ -127,7 +127,7 @@ which are string or symbol." (defconst mime::dtype-regexp (concat "^" mime/disposition-type-regexp)) (defun mime-parse-Content-Disposition (string) - "Parse STRING as field-body of Content-Disposition field. [mime-parse.el]" + "Parse STRING as field-body of Content-Disposition field." (setq string (std11-unfold-string string)) (if (string-match mime::dtype-regexp string) (let* ((e (match-end 0))