refactor(users/sterni/emacs): use more persistent tmp dir
Change-Id: I703b7678405f29bc4f0f04e1b42fd35025a80971 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4982 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
1164f138a6
commit
a22bd77859
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@
|
||||||
(mouse-wheel-mode t)
|
(mouse-wheel-mode t)
|
||||||
(blink-cursor-mode -1))
|
(blink-cursor-mode -1))
|
||||||
|
|
||||||
;; TODO(sterni): prevent some remaining backup files
|
;; /tmp is a tmpfs, but we may want to recover from power loss
|
||||||
|
(custom-set-variables
|
||||||
|
`(temporary-file-directory ,(concat (getenv "HOME") "/.emacs/tmp")))
|
||||||
|
|
||||||
(setq auto-save-file-name-transforms
|
(setq auto-save-file-name-transforms
|
||||||
`((".*" ,temporary-file-directory t)))
|
`((".*" ,temporary-file-directory t)))
|
||||||
(setq backup-directory-alist
|
(setq backup-directory-alist
|
||||||
|
|
Loading…
Reference in a new issue