Skip to content

Commit 9dcc50d

Browse files
plexusbbatsov
authored andcommitted
Adjust to breaking changes in CIDER
1 parent 6db85b3 commit 9dcc50d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clj-refactor.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-promote-function
25232523
"ignore-paths" cljr-middleware-ignored-paths
25242524
"ignore-errors"
25252525
(when cljr-ignore-analyzer-errors "true"))))
2526-
(with-current-buffer (with-no-warnings (cider-current-repl-buffer))
2526+
(with-current-buffer (with-no-warnings (cider-current-repl))
25272527
(setq cjr--occurrence-count 0)
25282528
(setq cljr--num-syms -1)
25292529
(setq cljr--occurrence-ids '()))
@@ -2885,7 +2885,7 @@ Date. -> Date
28852885
(when-let (candidates (thread-first (cljr--create-msg "resolve-missing"
28862886
"symbol" symbol
28872887
"session"
2888-
(with-no-warnings (cider-current-session)))
2888+
(with-no-warnings (cider-nrepl-eval-session)))
28892889
(cljr--call-middleware-sync
28902890
"candidates")))
28912891
(parseedn-read-str candidates)))

0 commit comments

Comments
 (0)