--- a/.emacs-my Sun Dec 16 20:06:36 2012 +0200
+++ b/.emacs-my Thu Dec 20 23:42:25 2012 +0200
@@ -1281,6 +1281,7 @@
("ADMIN" . ?a)
("BLOG" . ?b)
("DEVEL" . ?d)
+ ("HOME" . ?h)
("GET" . ?g)
("LIFE" . ?l)
("MAIL" . ?m)
@@ -2348,6 +2349,11 @@
(add-to-list 'auto-mode-alist '("\\.js$" . javascript-generic-mode))
)
+(eval-after-load 'js-mode
+ '(progn
+ (modify-syntax-entry ?$ "w" js-mode-syntax-table)
+ ))
+
;; BUG: all single char comments do not stop highlighting on end of line but
;; go to end of buffer. To fix use code:
;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))