aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Galbraith2006-02-05 04:55:42 +0000
committerPeter Galbraith2006-02-05 04:55:42 +0000
commit6ada44a109cf4cc63cc1afc489b6a274cb9b920f (patch)
tree2db7fcd400c8398b611a4d9a2cb4a6098c16fdf9
parent82bda03877ffa74c3b0e410cd2ae5a759fed61ad (diff)
downloademacs-6ada44a109cf4cc63cc1afc489b6a274cb9b920f.tar.gz
emacs-6ada44a109cf4cc63cc1afc489b6a274cb9b920f.zip
* mh-mime.el (mh-file-mime-type-substitutions): Added entries to
handle openoffice documents, as provided by Eric Ding.
-rw-r--r--lisp/mh-e/mh-mime.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 787f5c371fe..b35b1e6aace 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1733,7 +1733,19 @@ Returns nil if file command not on system."
1733(defvar mh-file-mime-type-substitutions 1733(defvar mh-file-mime-type-substitutions
1734 '(("application/msword" "\.xls" "application/ms-excel") 1734 '(("application/msword" "\.xls" "application/ms-excel")
1735 ("application/msword" "\.ppt" "application/ms-powerpoint") 1735 ("application/msword" "\.ppt" "application/ms-powerpoint")
1736 ("text/plain" "\.vcf" "text/x-vcard")) 1736 ("text/plain" "\.vcf" "text/x-vcard")
1737 ("text/rtf" "\.rtf" "application/rtf")
1738 ("application/x-zip" "\.sxc" "application/vnd.sun.xml.calc")
1739 ("application/x-zip" "\.sxd" "application/vnd.sun.xml.draw")
1740 ("application/x-zip" "\.sxi" "application/vnd.sun.xml.impress")
1741 ("application/x-zip" "\.sxw" "application/vnd.sun.xml.writer")
1742 ("application/x-zip" "\.odg" "application/vnd.oasis.opendocument.graphics")
1743 ("application/x-zip" "\.odi" "application/vnd.oasis.opendocument.image")
1744 ("application/x-zip" "\.odp"
1745 "application/vnd.oasis.opendocument.presentation")
1746 ("application/x-zip" "\.ods"
1747 "application/vnd.oasis.opendocument.spreadsheet")
1748 ("application/x-zip" "\.odt" "application/vnd.oasis.opendocument.text"))
1737 "Substitutions to make for Content-Type returned from file command. 1749 "Substitutions to make for Content-Type returned from file command.
1738The first element is the Content-Type returned by the file command. 1750The first element is the Content-Type returned by the file command.
1739The second element is a regexp matching the file name, usually the 1751The second element is a regexp matching the file name, usually the