[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: always text/plain on ASCII text
In [emacs-w3m:13086]
On Sat, 26 Jan 2019 21:08:16 +0100, Emanuel Berg wrote:
> OK, so how should it be done then?
How about this one?
;; ~/.emacs-w3m.el
(add-to-list 'w3m-content-type-alist '("unknown" nil nil "text/plain"))
This makes emacs-w3m treat *any* content of which the Content-Type
is "unknown"[1] as "text/plain".
[1]
(w3m-content-type "http://user.it.uu.se/~embe8573/COMP-HIST" t)
=> "unknown"