branch: elpa/cider commit e75706f53bd0470bcec0d1e3a4cef6a043a20fc7 Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@batsov.dev>
[Fix #2561] Disable undo in *cider-test-report* buffers --- CHANGELOG.md | 1 + cider-test.el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972fee91e4..161eb5caa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Bugs fixed - Remove needless quotes from the choices of `cider-jack-in-auto-inject-clojure` +- [#2561](https://github.com/clojure-emacs/cider/issues/2561): Disable undo in `*cider-test-report*` buffers. ## 1.5.0 (2022-08-24) diff --git a/cider-test.el b/cider-test.el index c08d6eb437..f672b5d324 100644 --- a/cider-test.el +++ b/cider-test.el @@ -217,7 +217,8 @@ Add to this list to have CIDER recognize additional test defining macros." (when cider-special-mode-truncate-lines (setq-local truncate-lines t)) (setq-local sesman-system 'CIDER) - (setq-local electric-indent-chars nil)) + (setq-local electric-indent-chars nil) + (buffer-disable-undo)) ;; Report navigation