summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 29315281..481eb9b3 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2058,8 +2058,7 @@ With two prefix arguments, write out the day and month name."
   :config (progn
             (setq tern-command (list (executable-find "tern")))
             (create-hook-helper tern-mode-on ()
-              :hooks (web-mode-hook
-                      js2-mode-hook)
+              :hooks (js2-mode-hook)
               (tern-mode +1))))
 
 (with-eval-after-load 'tern