diff options
author | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-24 22:28:51 -0400 |
---|---|---|
committer | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-26 17:48:00 -0400 |
commit | a17f30d7cdfa3983f8c97e474015777ec051de35 (patch) | |
tree | 9c56ff4e146b9f1c071cb31541e00a1b3fa2e215 /lisp/emacs-lisp/byte-opt.el | |
parent | 52a1da03b226b8686856259ac5d9474a8462322a (diff) | |
download | emacs-a17f30d7cdfa3983f8c97e474015777ec051de35.tar.gz emacs-a17f30d7cdfa3983f8c97e474015777ec051de35.tar.bz2 emacs-a17f30d7cdfa3983f8c97e474015777ec051de35.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions