Skip to content

Commit 27c018c

Browse files
committed
Use the right eval function
Fixes a bug introduced in 47d9a95
1 parent 838af89 commit 27c018c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cider-repl.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,10 +1324,10 @@ command will prompt for the name of the namespace to switch to."
13241324
(let ((f (if (equal 'cljs
13251325
(with-current-buffer connection
13261326
cider-repl-type))
1327-
;; For cljs, don't use cider-sync-tooling-eval, because Piggieback will later change the ns (issue #3503):
1327+
;; For cljs, don't use cider-tooling-eval, because Piggieback will later change the ns (issue #3503):
13281328
#'cider-nrepl-request:eval
1329-
;; When possible, favor cider-sync-tooling-eval because it preserves *1, etc (commit 5f705b):
1330-
#'cider-sync-tooling-eval)))
1329+
;; When possible, favor cider-tooling-eval because it preserves *1, etc (commit 5f705b):
1330+
#'cider-tooling-eval)))
13311331
(funcall f (format "(in-ns '%s)" ns)
13321332
(cider-repl-switch-ns-handler connection))))))
13331333

0 commit comments

Comments
 (0)