mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user