diff .emacs @ 37:6e65d45edbbe

Tab fix for js2-mode
author Augie Fackler <durin42@gmail.com>
date Wed, 21 Jan 2009 11:10:07 -0600
parents 1c70c9393f45
children f34194cad324
line wrap: on
line diff
--- a/.emacs
+++ b/.emacs
@@ -63,6 +63,7 @@ point."
 
 (autoload 'js2-mode "js2" nil t)
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
+(add-hook 'js2-mode-hook 'af-tab-fix)
 
 (defun af-python-mode-hook ()
   ; highlight tabs in Python