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)))))
|
||||
|
||||
(defun mailcap--regexp-quote-type (type)
|
||||
(if (not (string-search "/" type))
|
||||
type
|
||||
(pcase-let ((`(,major ,minor) (split-string type "/")))
|
||||
(concat major "/" (regexp-quote minor))))
|
||||
(concat major "/" (regexp-quote minor)))))
|
||||
|
||||
(defun mailcap-extension-to-mime (extn)
|
||||
"Return the MIME content type of the file extensions EXTN."
|
||||
|
|
Loading…
Add table
Reference in a new issue