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:
Daniel Kraus 2023-03-23 13:25:15 +01:00
parent 04087be6b3
commit 880782660a
No known key found for this signature in database
GPG Key ID: C1C8D63F884EF9C9
1 changed files with 3 additions and 2 deletions

View File

@ -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))