merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 20 Dec 2012 23:42:25 +0200
changeset 1013 e88896e74332
parent 1012 3432d1144a70 (diff)
parent 1008 ff0b8955a3c0 (current diff)
child 1014 82ae06b5d7c4
merged
.emacs-my
--- 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))