mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-15 13:23:42 -05:00
Set org-babel-python-command to be same as python-shell-interpreter
This commit is contained in:
@@ -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
|
;; Fix 'require(...).print is not a function' error from `ob-js' when
|
||||||
;; executing JS src blocks
|
;; 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 ()
|
(defun +org-init-babel-lazy-loader-h ()
|
||||||
|
Reference in New Issue
Block a user