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

Re: w3m mode should extend to .txt files by default



From: jidanni@xxxxxxxxxxx
Subject: [emacs-w3m:10469] w3m mode should extend to .txt files by default
Date: Sun, 30 Nov 2008 06:10:12 +0800

> In file:///usr/share/doc/git-doc/howto-index.html
> I click file:///usr/share/doc/git-doc/howto/setup-git-server-over-http.txt
> and I end up in (Text) mode. In real w3m I would still be in w3m mode,
> where B goes BACK, etc.

How about trying this?

(setq w3m-local-find-file-regexps
      '(nil . "\\.\\(?:[sx]?html?\\|txt\\)\\'"))

Regards,