[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider 9f2d715f5f 1/2: [inspector] Fix def-current-value se
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider 9f2d715f5f 1/2: [inspector] Fix def-current-value selecting wrong REPL |
Date: |
Fri, 15 Nov 2024 00:59:54 -0500 (EST) |
branch: elpa/cider
commit 9f2d715f5faa1c0d8e596abab1f82fb2722333a4
Author: Oleksandr Yakushev <alex@bytopia.org>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
[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 2d4c41387c..004922675b 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 79a21efcdb..17567b555d 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)))