changeset 324:231aef6069cc

emacs: put autosave files in /tmp
author Augie Fackler <raf@durin42.com>
date Sat, 11 May 2013 11:12:58 -0500
parents aa5afa13e12c
children 64e73453e43f
files .elisp/settings/10.auto-save.el .elisp/settings/50.preferences.el
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/.elisp/settings/10.auto-save.el
@@ -0,0 +1,5 @@
+;; store all autosave files in the tmp dir
+(setq auto-save-file-name-transforms
+      `((".*" ,temporary-file-directory t)))
+;; Basically everything I do is in version control, stop saving backup files
+(setq make-backup-files nil)
--- a/.elisp/settings/50.preferences.el
+++ b/.elisp/settings/50.preferences.el
@@ -12,9 +12,6 @@
 ;; Disable that startup screen
 (setq inhibit-startup-message t)
 
-;; Basically everything I do is in version control, stop saving backup files
-(setq make-backup-files nil)
-
 ; always highlight matching paren
 (show-paren-mode 1)