mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Enable global-undo-tree-mode after setting variables
This commit is contained in:
@ -152,12 +152,12 @@ fundamental-mode) for performance sake."
|
|||||||
(def-package! undo-tree
|
(def-package! undo-tree
|
||||||
:defer pre-command-hook
|
:defer pre-command-hook
|
||||||
:config
|
:config
|
||||||
(global-undo-tree-mode +1)
|
|
||||||
;; persistent undo history is known to cause undo history corruption, which
|
;; persistent undo history is known to cause undo history corruption, which
|
||||||
;; can be very destructive! So disable it!
|
;; can be very destructive! So disable it!
|
||||||
(setq undo-tree-auto-save-history nil
|
(setq undo-tree-auto-save-history nil
|
||||||
undo-tree-history-directory-alist
|
undo-tree-history-directory-alist
|
||||||
(list (cons "." (concat doom-cache-dir "undo-tree-hist/")))))
|
(list (cons "." (concat doom-cache-dir "undo-tree-hist/"))))
|
||||||
|
(global-undo-tree-mode +1))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user