]> git.eshelyaron.com Git - emacs.git/commit
Tweak mailcap precedence so that Emacs values are heeded better
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 12:50:14 +0000 (14:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 12:50:14 +0000 (14:50 +0200)
commit0a299bd9a0165576afdc7a2ff80de2f7604d49c9
tree9c0ac7d927feb407b58f363108ee3b68e30b6d9a
parente1c2ec50862024f1db1f37d895ae119877fe30ce
Tweak mailcap precedence so that Emacs values are heeded better

* lisp/net/mailcap.el (mailcap-parse-mailcaps): Place entries from
system-wide mailcap files after the values that are distributed
with Emacs, and the ones from ~/.mailcap before.
(mailcap-parse-mailcap): Take an optional `after' parameter to
achieve that.
(mailcap-add-mailcap-entry): Ditto.
lisp/net/mailcap.el