fix(clojure,org): use cider for org-babel

More than a year ago a change was added to ob-clojure that prevented
evaluating a Clojure code block without setting
`org-babel-clojure-backend'. This change sets this to a default value of
CIDER, since that is the main tool used in Doom.

Without this change, manual configuration is required to use Clojure in
org babel documents.

Close #5233
This commit is contained in:
Joshua Suskalo 2021-08-01 14:26:55 -05:00 committed by GitHub
parent eb3d645bde
commit 9dc0d10c09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,11 @@
'(t (:eval cider-modeline-icon))
'append)))))
;; Ensure that CIDER is used for sessions in org buffers.
(when (featurep! :lang org)
(after! ob-clojure
(setq! org-babel-clojure-backend 'cider)))
;; The CIDER welcome message obscures error messages that the above code is
;; supposed to be make visible.
(setq cider-repl-display-help-banner nil)