mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-13 07:30:56 +00:00

* test/lisp/net/mailcap-resources/mailcap: New file. * test/lisp/net/mailcap-resources/test.test: New file. * test/lisp/net/mailcap-tests.el (with-pristine-mailcap): New macro. (mailcap-parsing-and-mailcap-mime-info): New test for parsing mailcap files and selecting the right viewer. (mailcap--test-result): New variable. (mailcap--test-viewer): New function. (mailcap-view-file): New test for mailcap-view-file.
9 lines
223 B
Text
9 lines
223 B
Text
audio/ogg; mpv %s
|
|
audio/flac; mpv %s
|
|
audio/x-wav; aplay %s
|
|
text/*; emacsclient -t %s
|
|
application/pdf; acroread %s; test=false
|
|
application/pdf; evince %s
|
|
application/pdf; okular %s
|
|
image/*; eog %s
|
|
image/svg+xml; inkscape %s
|