Skip to content

Commit

Permalink
Merge pull request #542 from emacs-php/fix/phpt-mode-alist
Browse files Browse the repository at this point in the history
Fix major mode for .phpt file
  • Loading branch information
zonuexe authored May 30, 2019
2 parents f7dbbea + bbcc4da commit c53e0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c53e0c1

Please sign in to comment.