Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
This commit is contained in:
commit
ced37a87e7
1 changed files with 4 additions and 2 deletions
|
@ -1066,8 +1066,10 @@ If FORCE, re-parse even if already parsed."
|
||||||
extns nil)))))
|
extns nil)))))
|
||||||
|
|
||||||
(defun mailcap--regexp-quote-type (type)
|
(defun mailcap--regexp-quote-type (type)
|
||||||
|
(if (not (string-search "/" type))
|
||||||
|
type
|
||||||
(pcase-let ((`(,major ,minor) (split-string type "/")))
|
(pcase-let ((`(,major ,minor) (split-string type "/")))
|
||||||
(concat major "/" (regexp-quote minor))))
|
(concat major "/" (regexp-quote minor)))))
|
||||||
|
|
||||||
(defun mailcap-extension-to-mime (extn)
|
(defun mailcap-extension-to-mime (extn)
|
||||||
"Return the MIME content type of the file extensions EXTN."
|
"Return the MIME content type of the file extensions EXTN."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue