Skip to content

Commit 9d87502

Browse files
[inspector] Fix def-current-value selecting wrong REPL
1 parent ced9f25 commit 9d87502

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- [#3742](https://github.com/clojure-emacs/cider/issues/3742): Restore syntax highlighting in result minibuffer.
1212
- [#3747](https://github.com/clojure-emacs/cider/issues/3747): Fix errors when docstring is nil.
13+
- [#3757](https://github.com/clojure-emacs/cider/issues/3757): Fix inspector's def-current-value selecting wrong REPL when multiple are connected.
1314

1415
## 1.16.0 (2024-09-24)
1516

cider-inspector.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ current-namespace."
388388
(interactive (let ((ns (cider-current-ns)))
389389
(list (cider-inspector--read-var-name-from-user ns)
390390
ns)))
391-
(setq cider-inspector--current-repl (cider-current-repl))
392391
(when-let* ((result (cider-sync-request:inspect-def-current-val ns var-name 'v2)))
393392
(cider-inspector--render-value result 'v2)
394393
(message "Defined current inspector value as #'%s/%s" ns var-name)))

0 commit comments

Comments
 (0)