1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
emacs/test/data/xdg/mimeapps.list
Mark Oteiza a17f30d7cd Add MIME apps spec utilities
Facilitates finding associations between MIME types and desktop files
that report an association with that type.  Combined with mailcap.el's
MIME facilities, it should be easy to use desktop files.
* lisp/xdg.el (xdg-mime-table): New variable.
(xdg-mime-apps-files, xdg-mime-collect-associations, xdg-mime-apps):
New functions.
* test/data/xdg/mimeapps.list: New file.
* test/data/xdg/mimeinfo.cache: New file.
* test/lisp/xdg-tests.el (xdg-mime-associations): New test.
2017-09-26 17:48:00 -04:00

10 lines
163 B
Plaintext

[Default Applications]
x-test/foo=a.desktop
[Added Associations]
x-test/foo=b.desktop
x-test/baz=a.desktop
[Removed Associations]
x-test/foo=c.desktop;d.desktop