forked from mirrors/org-mode
ob-clojure.el: Reword docstring for ob-clojure-eval-with-cider
* lisp/ob-clojure.el (ob-clojure-eval-with-cider): Mention in the docstring that the Babel params argument is not used anymore.
This commit is contained in:
parent
04087be6b3
commit
880782660a
|
@ -266,8 +266,9 @@ or set the `:backend' header argument"))))
|
|||
(reverse ob-clojure-inf-clojure-tmp-output)))))
|
||||
|
||||
(defun ob-clojure-eval-with-cider (expanded _params &optional cljs-p)
|
||||
"Evaluate EXPANDED code block with PARAMS using cider.
|
||||
When CLJS-P is non-nil, use a cljs connection instead of clj."
|
||||
"Evaluate EXPANDED code block using cider.
|
||||
When CLJS-P is non-nil, use a cljs connection instead of clj.
|
||||
The PARAMS from Babel are not used in this function."
|
||||
(org-require-package 'cider "Cider")
|
||||
(let ((connection (cider-current-connection (if cljs-p "cljs" "clj"))))
|
||||
(unless connection (sesman-start-session 'CIDER))
|
||||
|
|
Loading…
Reference in a new issue