Merge pull request #2631 from karlicoss/fix-babel-python

Set org-babel-python-command to be same as python-shell-interpreter
This commit is contained in:
Henrik Lissner 2020-03-29 19:02:58 -04:00 committed by GitHub
commit a52cb71636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,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 ()