X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.emacs;h=edc138e5a82bb9124907957f95f7cd9a1912ad5c;hb=254c6a892ad58516873745e6ff8fd817b1d1a583;hp=c175d0da2563e56ff154b5eaab3a1b2044d3cb87;hpb=fa98ec4799c836b40a6d5402d2257f53cf7f643a;p=emacs.git diff --git a/.emacs b/.emacs index c175d0d..edc138e 100644 --- a/.emacs +++ b/.emacs @@ -350,3 +350,11 @@ ; use iedit (require 'iedit) (define-key global-map (kbd "C-;") 'iedit-mode) + +(require 'multi-web-mode) +(setq mweb-default-major-mode 'html-mode) +(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") + (js-mode "") + (css-mode ""))) +(setq mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5")) +(multi-web-global-mode 1)