]> code.delx.au - gnu-emacs/blobdiff - lisp/org/ob-js.el
Obsolete longlines.el.
[gnu-emacs] / lisp / org / ob-js.el
index 20cad4e6b405dfd6a537af9a8efb86fbbf8c9c8e..21381725cb1ff93d9262dc8cf0db6ebbcbefa9a5 100644 (file)
@@ -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)