From ca6094780098d1dbf80bfb3c3d2872ec04491824 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sun, 12 Feb 2023 17:45:10 -0600 Subject: [PATCH] NO MORE SLOW AS FORK SAVES --- config-min.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config-min.org b/config-min.org index 9c34549..552d455 100644 --- a/config-min.org +++ b/config-min.org @@ -30,13 +30,12 @@ ;; Undo tree is useful (use-package undo-tree) - (setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo"))) + (setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")) + undo-tree-limit 8000000 + undo-tree-auto-save-history nil) (global-undo-tree-mode t) - (add-to-list 'undo-tree-incompatible-major-modes - 'vterm-mode) - (add-to-list 'undo-tree-incompatible-major-modes - 'compilation-mode) - (setq undo-tree-limit 8000000) + (add-to-list 'undo-tree-incompatible-major-modes 'vterm-mode) + (add-to-list 'undo-tree-incompatible-major-modes 'compilation-mode) ;; Beacon-mode (use-package beacon)