mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 04:21:28 -08:00
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)
|
||||
(pcase-let ((`(,major ,minor) (split-string type "/")))
|
||||
(concat major "/" (regexp-quote minor))))
|
||||
(if (not (string-search "/" type))
|
||||
type
|
||||
(pcase-let ((`(,major ,minor) (split-string type "/")))
|
||||
(concat major "/" (regexp-quote minor)))))
|
||||
|
||||
(defun mailcap-extension-to-mime (extn)
|
||||
"Return the MIME content type of the file extensions EXTN."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue