.emacs-my
changeset 1010 6b1ecdc690c1
parent 1003 8c1abe90331a
parent 1009 c6e2c636296f
child 1011 0cf901dc1c1f
--- a/.emacs-my	Sat Dec 01 13:14:57 2012 +0200
+++ b/.emacs-my	Tue Dec 04 13:19:43 2012 +0200
@@ -2329,6 +2329,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))