Skip to content

Commit c53e0c1

Browse files
authored
Merge pull request #542 from emacs-php/fix/phpt-mode-alist
Fix major mode for .phpt file
2 parents f7dbbea + bbcc4da commit c53e0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can replace \"en\" with your ISO language code."
107107

108108
(defcustom php-template-mode-alist
109109
`(("\\.blade" . ,php-blade-template-major-mode)
110-
("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-html-template-major-mode))
110+
("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-default-major-mode))
111111
("\\.phtml\\'" . ,php-html-template-major-mode))
112112
"Automatically use another MAJOR-MODE when open template file."
113113
:group 'php

0 commit comments

Comments
 (0)