[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: How to use pdf-tools (pdf-view-mode)

In [emacs-w3m:13070]
On Tue, 04 Dec 2018 17:53:41 +0900, Katsumi Yamaoka wrote:
> emacs-w3m now reads the ~/.mailcap file (if any) and gives
> priority to the settings in it.

Oops, doc-view still has top priority by default, sorry.
To use the other viewer, you want to remove "application/pdf"
from `w3m-doc-view-content-types' (in ~/.emacs-w3m.el) as

(setq w3m-doc-view-content-types
      (delete "application/pdf" w3m-doc-view-content-types))

Or just:

(setq w3m-doc-view-content-types nil)