Skip to content

Commit

Permalink
[inspector] Fix def-current-value selecting wrong REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yakushev committed Nov 14, 2024
1 parent ced9f25 commit 712e6fa
Showing 1 changed file with 0 additions and 1 deletion.
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

0 comments on commit 712e6fa

Please sign in to comment.