about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--init/settings.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init/settings.el b/init/settings.el
index b29e6eae2000..cb19116e409b 100644
--- a/init/settings.el
+++ b/init/settings.el
@@ -36,8 +36,7 @@
       whitespace-line-column 80
       default-directory "~"
       fill-column 80
-      ediff-split-window-function 'split-window-horizontally
-      backup-directory-alist `((,(concat user-emacs-directory "backups"))))
+      ediff-split-window-function 'split-window-horizontally)
 
 (add-to-list 'safe-local-variable-values '(lexical-binding . t))
 (add-to-list 'safe-local-variable-values '(whitespace-line-column . 80))
@@ -57,6 +56,8 @@
 ;; Keep your temporary files in tmp, emacs!
 (setq auto-save-file-name-transforms
       `((".*" ,temporary-file-directory t)))
+(setq backup-directory-alist
+      `((".*" . ,temporary-file-directory)))
 
 (remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)