Use web-mode for PHP.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 01 Apr 2014 23:02:59 +0300
changeset 1130 4aea0ddc3607
parent 1125 2fab89e9858e
child 1131 9d1bf84f379d
Use web-mode for PHP.
.emacs-my
--- a/.emacs-my	Tue Mar 11 00:05:41 2014 +0200
+++ b/.emacs-my	Tue Apr 01 23:02:59 2014 +0300
@@ -2724,7 +2724,7 @@
 (ignore-errors (require 'web-mode))
 (when (featurep 'web-mode)
   (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
-  (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
+  (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.jspf?\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("/WEB-INF/tags/.*\\.tagf?\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))