projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0050153
)
enable persistent undo in emacs
author
Amin Bandali
<me@aminb.org>
Mon, 9 Mar 2015 04:19:17 +0000
(
00:19
-0400)
committer
Amin Bandali
<me@aminb.org>
Mon, 9 Mar 2015 04:19:17 +0000
(
00:19
-0400)
reverse of https://github.com/syl20bnr/spacemacs/commit/
885d092e72aeaa470253c19831ba42e2eecf3514
spacemacs/.spacemacs
patch
|
blob
|
blame
|
history
diff --git
a/spacemacs/.spacemacs
b/spacemacs/.spacemacs
index
541736c
..
b2e5392
100644
(file)
--- 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")