aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/mh-letter.el2
-rw-r--r--lisp/mh-e/mh-mime.el26
2 files changed, 14 insertions, 14 deletions
diff --git a/lisp/mh-e/mh-letter.el b/lisp/mh-e/mh-letter.el
index 62e9b4a357d..de2b2cf7fd9 100644
--- a/lisp/mh-e/mh-letter.el
+++ b/lisp/mh-e/mh-letter.el
@@ -932,7 +932,7 @@ Any match found replaces the text from BEGIN to END."
932 (and (stringp file) 932 (and (stringp file)
933 (file-exists-p file) 933 (file-exists-p file)
934 (or (and (not (mh-have-file-command)) 934 (or (and (not (mh-have-file-command))
935 (not (null (string-match "\.vcf$" file)))) 935 (not (null (string-match "\\.vcf$" file))))
936 (string-equal "text/x-vcard" (mh-file-mime-type file)))))) 936 (string-equal "text/x-vcard" (mh-file-mime-type file))))))
937 937
938;;;###mh-autoload 938;;;###mh-autoload
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 60b796b1fdb..b69f956d5c2 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1756,21 +1756,21 @@ Returns nil if file command not on system."
1756 (kill-buffer tmp-buffer))))))) 1756 (kill-buffer tmp-buffer)))))))
1757 1757
1758(defvar mh-file-mime-type-substitutions 1758(defvar mh-file-mime-type-substitutions
1759 '(("application/msword" "\.xls" "application/ms-excel") 1759 '(("application/msword" "\\.xls" "application/ms-excel")
1760 ("application/msword" "\.ppt" "application/ms-powerpoint") 1760 ("application/msword" "\\.ppt" "application/ms-powerpoint")
1761 ("text/plain" "\.vcf" "text/x-vcard") 1761 ("text/plain" "\\.vcf" "text/x-vcard")
1762 ("text/rtf" "\.rtf" "application/rtf") 1762 ("text/rtf" "\\.rtf" "application/rtf")
1763 ("application/x-zip" "\.sxc" "application/vnd.sun.xml.calc") 1763 ("application/x-zip" "\\.sxc" "application/vnd.sun.xml.calc")
1764 ("application/x-zip" "\.sxd" "application/vnd.sun.xml.draw") 1764 ("application/x-zip" "\\.sxd" "application/vnd.sun.xml.draw")
1765 ("application/x-zip" "\.sxi" "application/vnd.sun.xml.impress") 1765 ("application/x-zip" "\\.sxi" "application/vnd.sun.xml.impress")
1766 ("application/x-zip" "\.sxw" "application/vnd.sun.xml.writer") 1766 ("application/x-zip" "\\.sxw" "application/vnd.sun.xml.writer")
1767 ("application/x-zip" "\.odg" "application/vnd.oasis.opendocument.graphics") 1767 ("application/x-zip" "\\.odg" "application/vnd.oasis.opendocument.graphics")
1768 ("application/x-zip" "\.odi" "application/vnd.oasis.opendocument.image") 1768 ("application/x-zip" "\\.odi" "application/vnd.oasis.opendocument.image")
1769 ("application/x-zip" "\.odp" 1769 ("application/x-zip" "\\.odp"
1770 "application/vnd.oasis.opendocument.presentation") 1770 "application/vnd.oasis.opendocument.presentation")
1771 ("application/x-zip" "\.ods" 1771 ("application/x-zip" "\\.ods"
1772 "application/vnd.oasis.opendocument.spreadsheet") 1772 "application/vnd.oasis.opendocument.spreadsheet")
1773 ("application/x-zip" "\.odt" "application/vnd.oasis.opendocument.text")) 1773 ("application/x-zip" "\\.odt" "application/vnd.oasis.opendocument.text"))
1774 "Substitutions to make for Content-Type returned from file command. 1774 "Substitutions to make for Content-Type returned from file command.
1775The first element is the Content-Type returned by the file command. 1775The first element is the Content-Type returned by the file command.
1776The second element is a regexp matching the file name, usually the 1776The second element is a regexp matching the file name, usually the