Set org-babel-python-command to be same as python-shell-interpreter

This commit is contained in:
Dima Gerasimov 2020-02-28 18:52:50 +01:00
parent 56cba7828c
commit b7042a1495

View file

@ -194,7 +194,10 @@ Is relative to `org-directory', unless it is absolute. Is used in Doom's default
;; Fix 'require(...).print is not a function' error from `ob-js' when
;; executing JS src blocks
(setq org-babel-js-function-wrapper "console.log(require('util').inspect(function(){\n%s\n}()));"))
(setq org-babel-js-function-wrapper "console.log(require('util').inspect(function(){\n%s\n}()));")
(after! python
(setq org-babel-python-command python-shell-interpreter)))
(defun +org-init-babel-lazy-loader-h ()