Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6ada44a1
Commit
6ada44a1
authored
Feb 05, 2006
by
Peter Galbraith
Browse files
* mh-mime.el (mh-file-mime-type-substitutions): Added entries to
handle openoffice documents, as provided by Eric Ding.
parent
82bda038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
lisp/mh-e/mh-mime.el
lisp/mh-e/mh-mime.el
+13
-1
No files found.
lisp/mh-e/mh-mime.el
View file @
6ada44a1
...
...
@@ -1733,7 +1733,19 @@ Returns nil if file command not on system."
(
defvar
mh-file-mime-type-substitutions
'
((
"application/msword"
"\.xls"
"application/ms-excel"
)
(
"application/msword"
"\.ppt"
"application/ms-powerpoint"
)
(
"text/plain"
"\.vcf"
"text/x-vcard"
))
(
"text/plain"
"\.vcf"
"text/x-vcard"
)
(
"text/rtf"
"\.rtf"
"application/rtf"
)
(
"application/x-zip"
"\.sxc"
"application/vnd.sun.xml.calc"
)
(
"application/x-zip"
"\.sxd"
"application/vnd.sun.xml.draw"
)
(
"application/x-zip"
"\.sxi"
"application/vnd.sun.xml.impress"
)
(
"application/x-zip"
"\.sxw"
"application/vnd.sun.xml.writer"
)
(
"application/x-zip"
"\.odg"
"application/vnd.oasis.opendocument.graphics"
)
(
"application/x-zip"
"\.odi"
"application/vnd.oasis.opendocument.image"
)
(
"application/x-zip"
"\.odp"
"application/vnd.oasis.opendocument.presentation"
)
(
"application/x-zip"
"\.ods"
"application/vnd.oasis.opendocument.spreadsheet"
)
(
"application/x-zip"
"\.odt"
"application/vnd.oasis.opendocument.text"
))
"Substitutions to make for Content-Type returned from file command.
The first element is the Content-Type returned by the file command.
The second element is a regexp matching the file name, usually the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment