diff options
author | Ivan Sokolov <ivan-p-sokolov@ya.ru> | 2020-05-22 16:07:55 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2020-05-22 16:07:55 +0200 |
commit | 47b653450f5eda25786f284e86df5faad21449e2 (patch) | |
tree | d39cdb8602fdf13e52837d9afce601c0def20dff | |
parent | 5e2490bdf29a1eeff91b631425c38309cf368690 (diff) | |
download | org-mode-47b653450f5eda25786f284e86df5faad21449e2.tar.gz |
ob-js.el: Fix obsolete requirement
* lisp/ob-js.el (org-babel-js-function-wrapper): Fix obsolete
requirement.
TINYCHANGE
-rw-r--r-- | lisp/ob-js.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-js.el b/lisp/ob-js.el index 8f66d10..7cbca4c 100644 --- a/lisp/ob-js.el +++ b/lisp/ob-js.el @@ -65,7 +65,7 @@ :safe #'stringp) (defvar org-babel-js-function-wrapper - "require('sys').print(require('sys').inspect(function(){\n%s\n}()));" + "require('process').stdout.write(require('util').inspect(function(){%s}()));" "Javascript code to print value of body.") (defun org-babel-execute:js (body params) |