Guest User

Untitled

a guest
Oct 17th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. (defvar emacs-autosave-directory
  2. (concat user-emacs-directory "autosaves/")
  3. "This variable dictates where to put auto saves. It is set to a
  4. directory called autosaves located wherever your .emacs.d/ is
  5. located.")
  6.  
  7. (unless (file-exists-p (emacs-autosave-directory))
  8. (make-directory (emacs-autosave-directory)))
  9.  
  10. (setq auto-save-file-name-transforms `((".*"
  11. ,emacs-autosave-directory t)))
Add Comment
Please, Sign In to add comment