autosave undo history

This commit is contained in:
roryk 2014-12-30 12:19:42 -05:00
parent 1aac0aba3e
commit 63687ccb10

View file

@ -57,6 +57,11 @@
(setq auto-save-file-name-transforms
`((".*" ,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
(global-auto-revert-mode t)