help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how can I tell emacs to treat a text file as html?


From: Stefan Monnier
Subject: Re: how can I tell emacs to treat a text file as html?
Date: Sat, 09 Apr 2005 14:34:26 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> This worked fine until the latest version of the software now sends
> a txt file instead. /tmp/nb_entry1078.txt  

> Emacs of course thinks this is plain text which is right, but I would
> like to treat it as html, actually XHTML, but either would do. 

(add-to-list 'auto-mode-alist '("\\`/tmp/nb_.*\\.txt\\'" . html-mode))


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]