]> git.eshelyaron.com Git - emacs.git/commit
Make mailcap-prefer-mailcap-viewers work as documented
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 03:00:16 +0000 (05:00 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 03:00:24 +0000 (05:00 +0200)
commita5a967b43dd2810635d7a06ea70510c4a8e5c10f
treedf3db43ca8efc5eb30f82566d4d39940e588ab6e
parent7d46b934ab60fdd58c46391636663ff85594c40b
Make mailcap-prefer-mailcap-viewers work as documented

* lisp/emacs-lisp/seq.el (seq-find): Autoload.

* lisp/net/mailcap.el (mailcap-parse-mailcaps): Note where all the
entries come from so that we can later distinguish between user
values and system values (bug#36771).
(mailcap-parse-mailcap): Take a source parameter.
(mailcap-possible-viewers): No need to sort wildcards/exact
matches; these are later sorted anyway.
(mailcap-add-mailcap-entry): Remove `after' parameter.
(mailcap-mime-info): Make mailcap-prefer-mailcap-viewers work as
documented.
lisp/emacs-lisp/seq.el
lisp/net/mailcap.el