diff options
Diffstat (limited to 'lisp/org/ob-js.el')
-rw-r--r-- | lisp/org/ob-js.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org/ob-js.el b/lisp/org/ob-js.el index 20cad4e6b40..21381725cb1 100644 --- a/lisp/org/ob-js.el +++ b/lisp/org/ob-js.el @@ -130,7 +130,7 @@ specifying a variable of the same value." session)) (defun org-babel-variable-assignments:js (params) - "Return list of Javascript statements assigning the block's variables" + "Return list of Javascript statements assigning the block's variables." (mapcar (lambda (pair) (format "var %s=%s;" (car pair) (org-babel-js-var-to-js (cdr pair)))) @@ -152,9 +152,9 @@ then create. Return the initialized session." (sit-for .5) (org-babel-js-initiate-session session)))) ((string= "node" org-babel-js-cmd ) - (error "session evaluation with node.js is not supported")) + (error "Session evaluation with node.js is not supported")) (t - (error "sessions are only supported with mozrepl add \":cmd mozrepl\""))))) + (error "Sessions are only supported with mozrepl add \":cmd mozrepl\""))))) (provide 'ob-js) |