autosave undo history
This commit is contained in:
parent
1aac0aba3e
commit
63687ccb10
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@
|
||||||
(setq auto-save-file-name-transforms
|
(setq auto-save-file-name-transforms
|
||||||
`((".*" ,temporary-file-directory t)))
|
`((".*" ,temporary-file-directory t)))
|
||||||
|
|
||||||
|
;; autosave the undo-tree history
|
||||||
|
(setq undo-tree-history-directory-alist
|
||||||
|
`((".*" . ,temporary-file-directory)))
|
||||||
|
(setq undo-tree-auto-save-history t)
|
||||||
|
|
||||||
;; revert buffers automatically when underlying files are changed externally
|
;; revert buffers automatically when underlying files are changed externally
|
||||||
(global-auto-revert-mode t)
|
(global-auto-revert-mode t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue