[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider b8d8de6087 1/4: Disable undo in cider-stacktrace buf
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider b8d8de6087 1/4: Disable undo in cider-stacktrace buffer |
Date: |
Fri, 30 Sep 2022 06:58:28 -0400 (EDT) |
branch: elpa/cider
commit b8d8de6087c8692558ca63f3dab28f74039b6784
Author: Kevin Liu <mail@nivekuil.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Disable undo in cider-stacktrace buffer
Same issue as https://github.com/clojure-emacs/cider/issues/1004, huge
ex-data from pathom in my case. Dramatic performance improvement.
might be worth doing the same for
https://github.com/clojure-emacs/cider/issues/2561
---
cider-stacktrace.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cider-stacktrace.el b/cider-stacktrace.el
index 519a2f5528..24b4e57fa9 100644
--- a/cider-stacktrace.el
+++ b/cider-stacktrace.el
@@ -203,7 +203,8 @@ The error types are represented as strings."
(setq-local electric-indent-chars nil)
(setq-local cider-stacktrace-hidden-frame-count 0)
(setq-local cider-stacktrace-filters cider-stacktrace-default-filters)
- (setq-local cider-stacktrace-cause-visibility (make-vector 10 0)))
+ (setq-local cider-stacktrace-cause-visibility (make-vector 10 0))
+ (buffer-disable-undo))
;; Stacktrace filtering