Enable global-undo-tree-mode after setting variables
This commit is contained in:
parent
94f9e43f25
commit
a6c6686628
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue