]> git.eshelyaron.com Git - emacs.git/commit
New custom option for overriding mailcap choices
authorTassilo Horn <tsdh@gnu.org>
Sun, 10 Apr 2016 07:39:51 +0000 (09:39 +0200)
committerTassilo Horn <tsdh@gnu.org>
Sun, 10 Apr 2016 16:15:45 +0000 (18:15 +0200)
commitb4b83fa2ba52cd5398e3b9d085b4afea679d1515
treeab4cf32e906b9924792461331a4f35b5b896416c
parent7172ba7f7f5b1a91357ea727ab188db3ccc99a77
New custom option for overriding mailcap choices

* lisp/net/mailcap.el (mailcap--get-user-mime-data): New function.
(mailcap--set-user-mime-data): New function.
(mailcap-user-mime-data): New customization option.
(mailcap-select-preferred-viewer): New function.
(mailcap-mime-info): Use it.

* doc/misc/emacs-mime.texi (mailcap): Document `mailcap-user-mime-data'.
doc/misc/emacs-mime.texi
lisp/net/mailcap.el