[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pdf links do not open as expected
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 07 Sep 2009 09:41:10 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11052
- References: <b4mk51rrpkm.fsf@xxxxxxx> <87skezmwyy.fsf@xxxxxxxxxxx>
>>>>> 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))