branch: elpa/cider
commit b8d8de6087c8692558ca63f3dab28f74039b6784
Author: Kevin Liu <m...@nivekuil.com>
Commit: Bozhidar Batsov <bozhi...@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

Reply via email to