mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 11:32:51 +00:00
Merge branch 'bugfix'
This commit is contained in:
commit
d4b66e99fd
|
@ -69,7 +69,10 @@
|
||||||
:safe #'stringp)
|
:safe #'stringp)
|
||||||
|
|
||||||
(defvar org-babel-js-function-wrapper
|
(defvar org-babel-js-function-wrapper
|
||||||
"require('process').stdout.write(require('util').inspect(function(){%s}()));"
|
;; Note that newline after %s - it makes sure that closing
|
||||||
|
;; parenthesis are not shadowed if the last line of the body is a
|
||||||
|
;; line comment.
|
||||||
|
"require('process').stdout.write(require('util').inspect(function(){%s\n}()));"
|
||||||
"Javascript code to print value of body.")
|
"Javascript code to print value of body.")
|
||||||
|
|
||||||
(defun org-babel-execute:js (body params)
|
(defun org-babel-execute:js (body params)
|
||||||
|
|
Loading…
Reference in a new issue