mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 03:20:39 -08:00
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.
4 lines
106 B
Text
4 lines
106 B
Text
[MIME Cache]
|
|
x-test/foo=c.desktop;d.desktop
|
|
x-test/bar=a.desktop;c.desktop
|
|
x-test/baz=b.desktop;d.desktop
|