about summary refs log tree commit diff
path: root/emacs.d/init-settings.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init-settings.el')
-rw-r--r--emacs.d/init-settings.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/init-settings.el b/emacs.d/init-settings.el
index 2d1f3c4bcc98..aa702bf8bc11 100644
--- a/emacs.d/init-settings.el
+++ b/emacs.d/init-settings.el
@@ -9,6 +9,7 @@
 (add-to-list 'exec-path (expand-file-name "~/bin"))
 (add-to-list 'exec-path "/Applications/Racket/bin")
 
+
 (when window-system
   (setq frame-title-format '(buffer-file-name "%f" ("%b")))
   (tooltip-mode -1)
@@ -172,6 +173,12 @@ comment as a filename."
   '(ace-jump-mode-enable-mark-sync))
 (define-key global-map (kbd "C-x ö") 'ace-jump-mode-pop-mark)
 
+;; Keep your backup files in tmp, emacs!
+(setq backup-directory-alist
+      `((".*" . ,temporary-file-directory)))
+(setq auto-save-file-name-transforms
+      `((".*" ,temporary-file-directory t)))
+
 ;; Eshell
 ;; Start/join
 (global-set-key (kbd "C-x m") 'eshell)