Skip to content

Commit 43d0a80

Browse files
committed
Fix auto-mode-alist
1 parent 07538cd commit 43d0a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,8 +1601,8 @@ The output will appear in the buffer *PHP*."
16011601

16021602
;;;###autoload
16031603
(progn
1604-
(add-to-list 'auto-mode-alist '("\\.\\(?:php[s345]?\\|phtml\\)\\'" . php-mode-maybe))
1605-
(add-to-list 'auto-mode-alist '("\\.php_cs\\(?:\\.dist\\)?\\'" . php-mode)))
1604+
(add-to-list 'auto-mode-alist '("/\\.php_cs\\(?:\\.dist\\)?\\'" . php-mode))
1605+
(add-to-list 'auto-mode-alist '("\\.\\(?:php[s345]?\\|phtml\\)\\'" . php-mode-maybe)))
16061606

16071607
(provide 'php-mode)
16081608
;;; php-mode.el ends here

0 commit comments

Comments
 (0)