Skip to content

Commit

Permalink
[Fix #1585] Show the eval command in the debugger's prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Feb 26, 2016
1 parent 8fccc91 commit 89894cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ and try to associate the created connection with this project automatically.
* `cider-test` commands now have keybindings in `cider-repl-mode`. The keybindings are exactly the same as those in `cider-mode`.
* 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`).
* [#1584](https://github.com/clojure-emacs/cider/issues/1584): Don't enable `eldoc-mode` automatically in `cider-repl-mode`.
* [#1585](https://github.com/clojure-emacs/cider/issues/1585): Show the eval command in the debugger's prompt.

### Bugs fixed

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

(defvar-local cider--debug-prompt-overlay nil)
Expand Down

1 comment on commit 89894cb

@Malabarba
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

Please sign in to comment.