From 06a4cfad4e41aab209fb32934c7603ddc6759451 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 Jun 2018 13:50:35 +0200 Subject: Emacs: don't use tern in web-mode I don't write JavaScript in HTML any more --- emacs/.emacs.d/main.el | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit 1.4.1