Fix viewing PDFs from eww with external viewers
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 11 Sep 2020 12:06:02 +0000 (14:06 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 11 Sep 2020 12:06:07 +0000 (14:06 +0200)
commita34a80a878f37832cc5e59f2c26ea1779eca5cf8
treec43383a48cef3fda042937f64d8c6c24c676d319
parentc0eee8cb2c1d2131520449d93d9327e3492e1144
Fix viewing PDFs from eww with external viewers

* lisp/net/mailcap.el (mailcap-view-mime): Most MIME viewers can't
take input on stdin (and in any case, "-" is not how many of them
designate stdin) (bug#43318).  So rewrite to put the data on a
file and feed the file name to the viewer.
lisp/net/mailcap.el