Skip to content

Commit 89894cb

Browse files
committed
[Fix #1585] Show the eval command in the debugger's prompt
1 parent 8fccc91 commit 89894cb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ and try to associate the created connection with this project automatically.
3636
* `cider-test` commands now have keybindings in `cider-repl-mode`. The keybindings are exactly the same as those in `cider-mode`.
3737
* Changed the binding of `cider-apropos-documentation` to `C-c C-d f` and `C-c C-d C-f` (it was `C-c C-d A`).
3838
* [#1584](https://github.com/clojure-emacs/cider/issues/1584): Don't enable `eldoc-mode` automatically in `cider-repl-mode`.
39+
* [#1585](https://github.com/clojure-emacs/cider/issues/1585): Show the eval command in the debugger's prompt.
3940

4041
### Bugs fixed
4142

cider-debug.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,8 @@ Each element of LOCALS should be a list of at least two elements."
218218
"Return prompt to display for COMMAND-LIST."
219219
(concat
220220
(mapconcat (lambda (x) (put-text-property 0 1 'face 'cider-debug-prompt-face x) x)
221-
;; `eval' is now integrated with things like `C-x C-e' and `C-c M-:'
222-
;; so we don't advertise this key to reduce clutter.
223221
;; `inspect' would conflict with `inject'.
224-
(seq-difference command-list '("eval" "inspect")) " ")
222+
(seq-difference command-list '("inspect")) " ")
225223
"\n"))
226224

227225
(defvar-local cider--debug-prompt-overlay nil)

0 commit comments

Comments
 (0)