diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d4c41387..004922675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - [#3742](https://github.com/clojure-emacs/cider/issues/3742): Restore syntax highlighting of result in the minibuffer. - [#3747](https://github.com/clojure-emacs/cider/issues/3747): Fix errors when docstring is `nil`. +- [#3757](https://github.com/clojure-emacs/cider/issues/3757): Fix inspector's def-current-value selecting wrong REPL when multiple are connected. ## 1.16.0 (2024-09-24) diff --git a/cider-inspector.el b/cider-inspector.el index 79a21efcd..17567b555 100644 --- a/cider-inspector.el +++ b/cider-inspector.el @@ -388,7 +388,6 @@ current-namespace." (interactive (let ((ns (cider-current-ns))) (list (cider-inspector--read-var-name-from-user ns) ns))) - (setq cider-inspector--current-repl (cider-current-repl)) (when-let* ((result (cider-sync-request:inspect-def-current-val ns var-name 'v2))) (cider-inspector--render-value result 'v2) (message "Defined current inspector value as #'%s/%s" ns var-name)))