Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

* Fix broken links to the docs in REPL warnings (the REPL links included the full CIDER version, but the docs URLs are without the patch version).
* [#2916](https://github.com/clojure-emacs/cider/issues/2916): Fix ordering of dependencies, global-opts and params for Clojure CLI projects when calling `cider-jack-in`.
* [#2929](https://github.com/clojure-emacs/cider/issues/2929): Fix handling of reader tags or metadata when calling `cider-eval-last-sexp-and-replace`

### Changes

Expand Down
4 changes: 3 additions & 1 deletion cider-eval.el
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,9 @@ buffer."
;; we have to be sure the evaluation won't result in an error
(cider-nrepl-sync-request:eval last-sexp)
;; seems like the sexp is valid, so we can safely kill it
(backward-kill-sexp)
(let ((opoint (point)))
Copy link
Member

Choose a reason for hiding this comment

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

Note to myself - this might be an useful function to add in clojure-mode - clojure-backward-kill-logical-sexp.

(clojure-backward-logical-sexp)
(kill-region (point) opoint))
(cider-interactive-eval last-sexp
(cider-eval-print-handler)
nil
Expand Down