Fixed undo-tree-auto-save-history
Previous commit with auto-save did not create the directory so it broke undo.
This commit is contained in:
parent
e2634674a9
commit
c465eeb9fc
1 changed files with 4 additions and 1 deletions
|
@ -2079,8 +2079,11 @@ determine the state to enable when escaping from the insert state.")
|
|||
:idle (global-undo-tree-mode)
|
||||
:defer t
|
||||
:init
|
||||
(setq undo-tree-history-directory-alist
|
||||
(setq undo-tree-auto-save-history t
|
||||
undo-tree-history-directory-alist
|
||||
`(("." . ,(concat spacemacs-cache-directory "undo"))))
|
||||
(unless (file-exists-p (concat spacemacs-cache-directory "undo"))
|
||||
(make-directory (concat spacemacs-cache-directory "undo")))
|
||||
(setq undo-tree-visualizer-timestamps t)
|
||||
(setq undo-tree-visualizer-diff t)
|
||||
:config
|
||||
|
|
Reference in a new issue