diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-02 23:45:29 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-02 23:45:29 +0200 |
commit | 20b5d8aaec5c8bd40a1eb454a3586126eac2f1c8 (patch) | |
tree | eeafece4054883c7267b5ce303b615e842d08522 | |
parent | 174e9d1ec94caaa1a13f9f0d37d6483456677ec7 (diff) | |
download | org-mode-20b5d8aaec5c8bd40a1eb454a3586126eac2f1c8.tar.gz |
ob-js: Fix `indium-run-node' call.
* lisp/ob-js.el (org-babel-execute:js): `indium-run-node' expects
a command to run.
-rw-r--r-- | lisp/ob-js.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ob-js.el b/lisp/ob-js.el index 1da2996..32ae6a3 100644 --- a/lisp/ob-js.el +++ b/lisp/ob-js.el @@ -89,12 +89,12 @@ This function is called by `org-babel-execute-src-block'" (org-babel-eval (format "%s %s" org-babel-js-cmd (org-babel-process-file-name script-file)) ""))) - ;; Indium Node REPL - ;; separate case because Indium REPL is not inherited from comint-mode + ;; Indium Node REPL. Separate case because Indium + ;; REPL is not inherited from Comint mode. ((string= session "*JS REPL*") (require 'indium-repl) (unless (get-buffer session) - (indium-run-node)) + (indium-run-node org-babel-js-cmd)) (indium-eval full-body)) ;; session evaluation (t |