diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-11-13T09·23+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-11-13T09·23+0100 |
commit | 6e7386b662d208f93e40b4567ad16f8d5ab54d5b (patch) | |
tree | bcf81fa7af99a5a57a6394cea115a16948b0112f | |
parent | 18462a2f287d8f2b90f98b4abe64da99dac6d84a (diff) |
fix(settings): Fix backup folder location
-rw-r--r-- | init/settings.el | 5 |
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) |