Closes #30: Increase undo limits to prevent early truncation of undo history

This commit is contained in:
James Cherti
2025-02-27 08:59:49 -05:00
parent f987325537
commit 5943267681

View File

@@ -25,6 +25,14 @@
;; Don't ping things that look like domain names. ;; Don't ping things that look like domain names.
(setq ffap-machine-p-known 'reject) (setq ffap-machine-p-known 'reject)
;;; Undo/redo
;; Increase undo limits to prevent early garbage collection from aggressively
;; truncating undo history
(setq undo-limit (* 13 160000)
undo-strong-limit (* 13 240000)
undo-outer-limit (* 13 24000000))
;;; package.el ;;; package.el
(when (bound-and-true-p minimal-emacs-package-initialize-and-refresh) (when (bound-and-true-p minimal-emacs-package-initialize-and-refresh)