|
From: | Deniz Dogan |
Subject: | Re: getting .tpl files to be considered as php |
Date: | Wed, 25 May 2011 22:41:52 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 2011-05-25 11:09, Vineet Naik wrote:
Hi, I have configured nXhtml with emacs23 for php development. Everything works fine for php, html files. But I want that it should also treat .tpl files as php files (ie code highlight and everything else should work in tpl as well). How do I set this ? Thanks, vineet
Put this in your init file: (add-to-list 'auto-mode-alist '("\\.tpl\\'" . php-mode))Replace php-mode above with whatever mode you want to enable when opening a .tpl file.
/Deniz
[Prev in Thread] | Current Thread | [Next in Thread] |