summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-12 15:50:52 +0200
committerAlan Pearce2017-05-12 15:50:52 +0200
commit0aaf9b4337cee8847a1732b56224a15e7b9c4dc6 (patch)
tree2d2bdf657d21743968d13ab6ac997be032416a65
parente708bfa96dbeb11778ed4badee18e7c3cb06b73d (diff)
downloaddotfiles-0aaf9b4337cee8847a1732b56224a15e7b9c4dc6.tar.lz
dotfiles-0aaf9b4337cee8847a1732b56224a15e7b9c4dc6.tar.zst
dotfiles-0aaf9b4337cee8847a1732b56224a15e7b9c4dc6.zip
Emacs: Use any eslint_d instead of global
With the package add-node-modules-path, this allows using a local
version of eslint_d
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index d55445b..f87f7c4 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1727,7 +1727,7 @@ On-the-fly error checking in programming modes?  Yes please.
             (global-flycheck-mode)
             (setq flycheck-check-syntax-automatically '(save new-line mode-enabled))
             (if (executable-find "eslint_d")
-                (setq flycheck-javascript-eslint-executable (executable-find "eslint_d")))))
+                (setq flycheck-javascript-eslint-executable "eslint_d"))))
 #+END_SRC
 
 ** golang