-
-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When initializing the repl, we ask what namespace we are in by evaling code, eg (eval "(str *ns*)"). However, enlighten mode hijacks eval messages in the middleware and uses the debugger which causes an error if the debugger is not yet initialized, ie, in `cider-repl-init`. So we inhibit this feature. The reason I am doing this let binding rather than just reordering is that reordering is brittle and doesn't convey that this order is very important. While its kinda gross that we are dynamically altering this variable several call stacks up, this is a very special case right at startup and not complicated logic during the principal use of CIDER.
- Loading branch information
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters