Open
Description
in php-mode-autoloads.el I've tried to make emacs to be able to regonize .phtml files. But it doesn't with this config:
(autoload 'php-mode "php-mode" "
Major mode for editing PHP code.
\{php-mode-map}
(fn)" t nil)
(add-to-list 'auto-mode-alist '("\.\(?:php[s345]?\|phtml\)\'" . php-mode))
(add-to-list 'auto-mode-alist '("/\.php_cs\(?:\.dist\)?\'" . php-mode-maybe))
In the original version, phtml is bound to the -maybe mode, so I switch the lines but have no luck.
Metadata
Metadata
Assignees
Labels
No labels