From ebceff5412eb040380eae05ebd944c95a7ba996d Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 3 Mar 2014 13:53:50 +0100 Subject: [PATCH] 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. --- lisp/ob-clojure.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el index 36f655f53..a933fdc05 100644 --- a/lisp/ob-clojure.el +++ b/lisp/ob-clojure.el @@ -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)