ob-clojure.el (org-babel-clojure-backend): Use 'cider when available
* ob-clojure.el (org-babel-clojure-backend): Use 'cider as the backend when available. Fall back on nrepl when available and on slime otherwise.
This commit is contained in:
parent
6e51188ead
commit
581db4e0a5
|
@ -63,7 +63,10 @@
|
|||
(defvar org-babel-default-header-args:clojure '())
|
||||
(defvar org-babel-header-args:clojure '((package . :any)))
|
||||
|
||||
(defcustom org-babel-clojure-backend 'nrepl
|
||||
(defcustom org-babel-clojure-backend
|
||||
(cond ((featurep 'cider) 'cider)
|
||||
((featurep 'nrepl) 'nrepl)
|
||||
(t 'slime))
|
||||
"Backend used to evaluate Clojure code blocks."
|
||||
:group 'org-babel
|
||||
:type '(choice
|
||||
|
|
Loading…
Reference in New Issue