From bbcc4dac8ac659415eabbd0cda16c17d83439521 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Thu, 30 May 2019 21:19:05 +0900 Subject: [PATCH] Fix major mode for .phpt file --- php.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php.el b/php.el index f1e46de9..336c2676 100644 --- a/php.el +++ b/php.el @@ -107,7 +107,7 @@ You can replace \"en\" with your ISO language code." (defcustom php-template-mode-alist `(("\\.blade" . ,php-blade-template-major-mode) - ("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-html-template-major-mode)) + ("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-default-major-mode)) ("\\.phtml\\'" . ,php-html-template-major-mode)) "Automatically use another MAJOR-MODE when open template file." :group 'php