summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2014-07-28 14:31:09 +0300
committerBozhidar Batsov <bozhidar@tradeo.com>2014-07-28 14:31:09 +0300
commit548f66e3e2d5f09dced7717bc240723948aa4af6 (patch)
tree1cabbb356fc94f8d2e91066c9422eb30ec1d5f8a
parent22ea65355bbc5937e35d412804a3ca03859d6e95 (diff)
[Fix #677] Pass ns to the macroexpand ops
-rw-r--r--cider-macroexpansion.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/cider-macroexpansion.el b/cider-macroexpansion.el
index 1373eddc..9bd9a02d 100644
--- a/cider-macroexpansion.el
+++ b/cider-macroexpansion.el
@@ -53,6 +53,7 @@ This variable specifies both what was expanded and the expander.")
(plist-get (nrepl-send-request-sync
(list "op" expander
"code" expr
+ "ns" (cider-current-ns)
"suppress-namespaces" "false")) :value))
(defun cider-macroexpand-expr (expander expr)