From f2f7164d4b451ddd1d53372c29bb5159dfa55023 Mon Sep 17 00:00:00 2001 From: Oleksandr Yakushev Date: Thu, 14 Nov 2024 21:19:47 +0200 Subject: [PATCH] [inspector] Fix def-current-value selecting wrong REPL --- CHANGELOG.md | 1 + cider-inspector.el | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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)))