changeset 37:6e65d45edbbe

Tab fix for js2-mode
author Augie Fackler <durin42@gmail.com>
date Wed, 21 Jan 2009 11:10:07 -0600
parents 74e6d193f4a8
children f70862dadf83
files .emacs
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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