Skip to content

Commit cade4ce

Browse files
authored
Merge pull request #609 from emacs-php/add-stub-extension
Add file extension .php.inc and .stub
2 parents 17fe1f8 + 8bd216d commit cade4ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: php-mode.el

+1
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,7 @@ The output will appear in the buffer *PHP*."
16931693
;;;###autoload
16941694
(progn
16951695
(add-to-list 'auto-mode-alist '("/\\.php_cs\\(?:\\.dist\\)?\\'" . php-mode))
1696+
(add-to-list 'auto-mode-alist '("\\.\\(?:php\\.inc\\|stub\\)\\'" . php-mode))
16961697
(add-to-list 'auto-mode-alist '("\\.\\(?:php[s345]?\\|phtml\\)\\'" . php-mode-maybe)))
16971698

16981699
(provide 'php-mode)

0 commit comments

Comments
 (0)