diff --git a/contrib/lang/javascript/packages.el b/contrib/lang/javascript/packages.el index 4ca951022..953ca0a4a 100644 --- a/contrib/lang/javascript/packages.el +++ b/contrib/lang/javascript/packages.el @@ -129,4 +129,4 @@ which require an initialization must be listed explicitly in the list.") (defun javascript/init-tern-auto-complete () (use-package tern-auto-complete :defer t - :config (tern-ac-setup))) + :init (eval-after-load 'tern '(tern-ac-setup))))