Created
October 16, 2017 19:25
-
-
Save dustinlacewell-wk/a1feb39286738fbdbee3494e73e66012 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defvar emacs-autosave-directory | |
(concat user-emacs-directory "autosaves/") | |
"This variable dictates where to put auto saves. It is set to a | |
directory called autosaves located wherever your .emacs.d/ is | |
located.") | |
(unless (file-exists-p (emacs-autosave-directory)) | |
(make-directory (emacs-autosave-directory))) | |
(setq auto-save-file-name-transforms `((".*" | |
,emacs-autosave-directory t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment