mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-24 07:20:29 +00:00
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 New Issue
Block a user