Browse Source

Move temp files to tmp instead of saving in the project

master
Taylor Bockman 4 years ago
parent
commit
62050ef434
  1. 10
      dotfiles/emacs.d/init.el

10
dotfiles/emacs.d/init.el

@ -51,6 +51,16 @@ There are two things you can do about this warning:
(display-battery-mode 1) (display-battery-mode 1)
;;-------------------------------------------------------------------------------------- ;;--------------------------------------------------------------------------------------
;; Set auto-save and backup directory to the temporary file directory in order
;; to keep projects free of annoying backups.
;;--------------------------------------------------------------------------------------
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
;;--------------------------------------------------------------------------------------
;; Always follow symbolic links to version controlled files ;; Always follow symbolic links to version controlled files
;; ;;
;; I prefer this option because I generally only get this message when I edit ;; I prefer this option because I generally only get this message when I edit

Loading…
Cancel
Save