Skip to content

Conversation

alexander-yakushev
Copy link
Member

Inspector's cider-inspector-def-current-val (hotkey d) behaves incorrectly if multiple REPLs are connected. It rebinds our carefully managed cider-inspector--current-repl with (cider-current-repl) which returns whatever in non-file and non-REPL buffers.

Perhaps, this is another reminder to make a generic "we know this buffer is associated with this REPL" variable and account for it in (cider-current-repl).

@bbatsov bbatsov merged commit 9f2d715 into master Nov 15, 2024
39 checks passed
@bbatsov bbatsov deleted the fix-def-inspector branch November 15, 2024 03:41
@bbatsov
Copy link
Member

bbatsov commented Nov 15, 2024

Perhaps, this is another reminder to make a generic "we know this buffer is associated with this REPL" variable and account for it in (cider-current-repl).

Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants