summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2017-12-11 00:09:18 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2017-12-11 00:09:18 +0200
commitc1a500d7da606f48cbde8546da922ca6ddfea9ef (patch)
tree76a29577dbf31ec0b0b75d49f4cd7de4eed59c2d /CHANGELOG.md
parent254f17d022353ae5dc95d8a5148a59c8ec9206ee (diff)
[Fix #2126] Preserve the point position in cider-format-buffer
That's pretty important for people who want to apply the formatting automatically on buffer save. Unfortunately we can't use save-excursion here, because we're deleting the location we want to preserve, so we have to get a bit more creative.
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 3146ef9f..5dae4288 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@
* [cider-nrepl#438](https://github.com/clojure-emacs/cider-nrepl/pull/438): Improve startup time by deferring loading CIDER's middleware until the first usage.
* [#2078](https://github.com/clojure-emacs/cider/pull/2078): Improve startup time by bundling together sync requests during startup.
* `cider-rotate-default-connection` will warn if you use it with only a single active connection.
+* `cider-format-buffer` preserves the point position.
### Bugs Fixed