[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use pdf-tools (pdf-view-mode)
>>>>> Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
> 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 follows:
> (setq w3m-doc-view-content-types (delete "application/pdf"
> Or just:
> (setq w3m-doc-view-content-types nil)
Excellent - this works.
A user may have to put (setq w3m-local-find-file-function nil) in order
to read local pdf files.
Thanks again Katsumi.