diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/sterni/emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 0db4abecf066..fb5eebfc87d7 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -44,7 +44,10 @@ (mouse-wheel-mode t) (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 `((".*" ,temporary-file-directory t))) (setq backup-directory-alist |