Henrik Lissner 2020-06-02 18:07:05 -04:00
parent 0aafb3f7bc
commit fddbbb08c4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 11 deletions

View file

@ -208,10 +208,6 @@ This forces it to read the background before rendering."
;; ipython, where the result could be an image)
(add-hook 'org-babel-after-execute-hook #'org-redisplay-inline-images)
;; 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}()));")
(after! python
(setq org-babel-python-command python-shell-interpreter)))