branch: elpa/drupal-mode
commit 71f3ba70fee28db094507c2d2bc489727726cbd5
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Added .inc files as `php-mode` as well.
---
drupal-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index d05346efd2..84b49eada9 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -671,7 +671,7 @@ mode-hook."
;;;###autoload
(progn
- (add-to-list 'auto-mode-alist
'("[^/]\\.\\(module\\|test\\|install\\|profile\\|tpl\\.php\\|theme\\)\\'" .
php-mode))
+ (add-to-list 'auto-mode-alist
'("[^/]\\.\\(module\\|test\\|install\\|profile\\|tpl\\.php\\|theme\\|inc\\)\\'"
. php-mode))
(add-to-list 'auto-mode-alist '("[^/]\\.info\\'" . conf-windows-mode)))