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

Re: pdf links do not open as expected



>>>>> jidanni@xxxxxxxxxxx wrote:

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

> That works fine for http links, but not for file:///...bla.pdf . They
> will still end up being read via doc-view. Same problem when called with
> browse-url-of-dired-file.

That's controlled by `auto-mode-alist'.  Adding this to
the ~/.emacs file will help:

(setq auto-mode-alist
      (delq (rassq 'doc-view-mode auto-mode-alist) auto-mode-alist))