Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inspector] Fix def-current-value selecting wrong REPL #3757

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion cider-inspector.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down
Loading