Created
February 22, 2021 03:13
-
-
Save khapota/3809bf4059bd98b018606254703253ea to your computer and use it in GitHub Desktop.
Change Emacs backup and autosave to tmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; store all backup and autosave files in the tmp dir | |
(setq backup-directory-alist | |
`((".*" . ,temporary-file-directory))) | |
(setq auto-save-file-name-transforms | |
`((".*" ,temporary-file-directory t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment