Skip to content

Commit 9f2d715

Browse files
alexander-yakushevbbatsov
authored andcommitted
[inspector] Fix def-current-value selecting wrong REPL
1 parent c7bed56 commit 9f2d715

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
@@ -11,6 +11,7 @@
1111

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

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

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)