ob-clojure.el: Don't use `cider-current-ns' to set the current namespace

* ob-clojure.el (org-babel-execute:clojure): Don't use
`cider-current-ns' to set the current namespace.

Thanks to Volker Strobel for reporting this issue.
This commit is contained in:
Bastien Guerry 2014-03-03 13:53:50 +01:00
parent 7097566dfb
commit ebceff5412
1 changed files with 1 additions and 5 deletions

View File

@ -109,11 +109,7 @@
(cider
(require 'cider)
(setq result
(or (cider-get-raw-value
(cider-eval-sync
expanded
(cider-current-ns)
(nrepl-current-tooling-session)))
(or (cider-get-raw-value (cider-eval-sync expanded))
(error "nREPL not connected! Use M-x cider-jack-in RET"))))
(nrepl
(require 'nrepl)