]> git.eshelyaron.com Git - emacs.git/commit
Do some cleanup in mailcap.el
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 8 Aug 2017 01:50:11 +0000 (21:50 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Tue, 8 Aug 2017 02:06:03 +0000 (22:06 -0400)
commitc3445aed51944becb3e58f5dace8121c0021f6c7
treed56809d284928376e9383602aa0b9cbb77c20e0f
parent919ac3ae1635bf2b99eb1f3efc7476826359e92a
Do some cleanup in mailcap.el

* lisp/net/mailcap.el: Use lexical-binding.
(mailcap--set-user-mime-data, mailcap-possible-viewers): Use pcase
destructuring.
(mailcap-mime-data): Remove some entries for ancient functions.
(mailcap-parse-mailcaps, mailcap-mime-info): Nix single-branch ifs.
(mailcap-parse-mimetype-file): Just use append.
(mailcap-command-p): Remove unused function.
lisp/net/mailcap.el