diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-13 19:08:16 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-13 19:08:16 +0200 |
commit | 7e47d44da4b54c518c5e09b4f3d58dafdd43033d (patch) | |
tree | e86e75908e6fbcd522c91a7ae8b77e0686255676 /etc | |
parent | 712607b05ac7c28a35e4682269adc53257ab9337 (diff) | |
download | emacs-7e47d44da4b54c518c5e09b4f3d58dafdd43033d.tar.gz |
Prefer settings from ~/.mailcap over system and Emacs settings
* doc/misc/emacs-mime.texi (mailcap): Document the variable and
how mailcap chooses which viewer to use.
* lisp/net/mailcap.el (mailcap-prefer-mailcap-viewers): New variable.
(mailcap-mime-info): Use it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -526,11 +526,23 @@ does not fit in a machine integer (Bug#30408). 'json-insert', 'json-parse-string', and 'json-parse-buffer'. These are implemented in C using the Jansson library. +** Mailcap + --- -** The new function `mailcap-file-name-to-mime-type' has been added. +*** The new function `mailcap-file-name-to-mime-type' has been added. It's a simple convenience function for looking up MIME types based on file name extensions. +*** The default way the list of possible external viewers for MIME +types is sorted and chosen has changed. Earlier, the most specific +viewer was chosen, even if there was a general override in ~/.mailcap. +For instance, if /etc/mailcap has an entry for image/gif, that one +will be chosen even if you have an entry for image/* in your +~/.mailcap file. But with the new method, entries from ~/.mailcap +overrides all system and Emacs-provided defaults. To get the old +method back, set `mailcap-prefer-mailcap-viewers' to nil + + +++ ** The new function 'read-answer' accepts either long or short answers depending on the new customizable variable 'read-answer-short'. |