From: Don Armstrong Date: Tue, 8 Jan 2013 01:53:54 +0000 (-0800) Subject: add multi-web-mode work X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=254c6a892ad58516873745e6ff8fd817b1d1a583;p=emacs.git add multi-web-mode work --- 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)