Skip to content

phtml suffix seems to be ignored #552

Open
@frameworker74

Description

@frameworker74

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions