Add completion for 'script' and 'style' tags in html from sgml mode.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 25 Oct 2011 01:21:09 +0300
changeset 753 732e4cefb33b
parent 752 079c2e27357a
child 754 bed8f8bbec49
Add completion for 'script' and 'style' tags in html from sgml mode.
.emacs-my
--- a/.emacs-my	Mon Oct 24 02:56:48 2011 +0300
+++ b/.emacs-my	Tue Oct 25 01:21:09 2011 +0300
@@ -1848,6 +1848,8 @@
               (my-filter
                (lambda (item) (not (equal (car item) "html")))
                html-tag-alist)))
+       (add-to-list 'html-tag-alist '("script" (\n) ("type" "text/javascript") ))
+       (add-to-list 'html-tag-alist '("style" (\n) ("type" "text/css") ))
      )))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;