summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDan Sutton <danielsutton01@gmail.com>2017-03-04 16:48:29 -0600
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-03-08 16:45:55 +0200
commit27374dab933a6edf94ab0894c10be39c6008fdd6 (patch)
tree18a0424d930cb509a1edf3d28531866142cd3bd9 /CHANGELOG.md
parent2283d18596c18d00bc523a3e7e05e77c6765dba3 (diff)
[Fix #1947] Inhibit `enlighten-mode` during repl initialization
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.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index adafd2f6..90e5bcb1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@
### Bugs Fixed
+* [#1947](https://github.com/clojure-emacs/cider/issues/1947): Fix error on `cider-jack-in` when `enlighten-mode` is enabled.
* [#1588](https://github.com/clojure-emacs/cider/issues/1588): Redirect `*err*`, `java.lang.System/out`, and `java.lang.System/err` to REPL buffer on all attached sessions.
* [#1707](https://github.com/clojure-emacs/cider/issues/1707): Allow to customize line truncating in CIDER's special buffers.
* [#1876](https://github.com/clojure-emacs/cider/issues/1876): Set pretty-printing width with `cider-repl-pretty-print-width`. If this variable is not set, fall back to `fill-column`.