summaryrefslogtreecommitdiffstats
path: root/spacemacs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spacemacs/.spacemacs6
1 files changed, 6 insertions, 0 deletions
diff --git a/spacemacs/.spacemacs b/spacemacs/.spacemacs
index 541736c..b2e5392 100644
--- a/spacemacs/.spacemacs
+++ b/spacemacs/.spacemacs
@@ -104,6 +104,12 @@ layers configuration."
(setq powerline-default-separator nil)
(setq TeX-PDF-mode t
Tex-command-default 'TeX)
+ (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 TeX-view-program-selection
'(((output-dvi style-pstricks)
"dvips and gv")