From 47b653450f5eda25786f284e86df5faad21449e2 Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Fri, 22 May 2020 16:07:55 +0200 Subject: [PATCH] ob-js.el: Fix obsolete requirement * lisp/ob-js.el (org-babel-js-function-wrapper): Fix obsolete requirement. TINYCHANGE --- lisp/ob-js.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-js.el b/lisp/ob-js.el index 8f66d1020..7cbca4cb0 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)