Set org-babel-python-command to be same as python-shell-interpreter
This commit is contained in:
parent
56cba7828c
commit
b7042a1495
1 changed files with 4 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue