Ben Bacarisse [2018-09-23 03:52:03+01] wrote: > How can I get Emacs (specifically mailcap.el) to prioritise my > system's or my personal mailcap settings? > > Gnus, for example, opens PDF files in doc-view-mode rather than using > the program specified in /etc/mailcap or ~/.mailcap. Use variable mailcap-user-mime-data: (setq mailcap-user-mime-data '(((type . "application/pdf") (viewer . "my-viewer %s")))) -- /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///