Skip to content

Commit

Permalink
Adjust to breaking changes in CIDER
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus authored and bbatsov committed Jan 1, 2021
1 parent 6db85b3 commit 9dcc50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clj-refactor.el
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,7 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-promote-function
"ignore-paths" cljr-middleware-ignored-paths
"ignore-errors"
(when cljr-ignore-analyzer-errors "true"))))
(with-current-buffer (with-no-warnings (cider-current-repl-buffer))
(with-current-buffer (with-no-warnings (cider-current-repl))
(setq cjr--occurrence-count 0)
(setq cljr--num-syms -1)
(setq cljr--occurrence-ids '()))
Expand Down Expand Up @@ -2885,7 +2885,7 @@ Date. -> Date
(when-let (candidates (thread-first (cljr--create-msg "resolve-missing"
"symbol" symbol
"session"
(with-no-warnings (cider-current-session)))
(with-no-warnings (cider-nrepl-eval-session)))
(cljr--call-middleware-sync
"candidates")))
(parseedn-read-str candidates)))
Expand Down

0 comments on commit 9dcc50d

Please sign in to comment.