Skip to content

Commit b8d8de6

Browse files
nivekuilbbatsov
authored andcommitted
Disable undo in cider-stacktrace buffer
Same issue as #1004, huge ex-data from pathom in my case. Dramatic performance improvement. might be worth doing the same for #2561
1 parent 101671c commit b8d8de6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cider-stacktrace.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ The error types are represented as strings."
203203
(setq-local electric-indent-chars nil)
204204
(setq-local cider-stacktrace-hidden-frame-count 0)
205205
(setq-local cider-stacktrace-filters cider-stacktrace-default-filters)
206-
(setq-local cider-stacktrace-cause-visibility (make-vector 10 0)))
206+
(setq-local cider-stacktrace-cause-visibility (make-vector 10 0))
207+
(buffer-disable-undo))
207208

208209

209210
;; Stacktrace filtering

0 commit comments

Comments
 (0)