# HG changeset patch # User Augie Fackler # Date 1232557807 21600 # Node ID 6e65d45edbbe10fcc4bb4242865807dae5032b15 # Parent 74e6d193f4a875ec7bee68d438bab63ba9783293 Tab fix for js2-mode diff --git a/.emacs b/.emacs --- 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