branch: master
commit c23be309385422716347bbe8d4a4cc3b8133eecf
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Limit html-php to .php files
---
 mmm-defaults.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mmm-defaults.el b/mmm-defaults.el
index 25bca3e..d75c21d 100644
--- a/mmm-defaults.el
+++ b/mmm-defaults.el
@@ -50,7 +50,7 @@
 
 (mmm-add-mode-ext-class 'html-mode nil 'html-js)
 (mmm-add-mode-ext-class 'html-mode nil 'html-css)
-(mmm-add-mode-ext-class 'html-mode nil 'html-php)
+(mmm-add-mode-ext-class 'html-mode "\\.php\\'" 'html-php)
 (add-to-list 'auto-mode-alist '("\\.html\\.php\\'" . html-mode))
 
 (provide 'mmm-defaults)

Reply via email to