Merge pull request #765 from roryk/upstream

autosave undo history
This commit is contained in:
Bozhidar Batsov 2014-12-31 00:14:06 +02:00
commit 0d04a00c59

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)