about summary refs log tree commit diff
path: root/emacs.d/init-settings.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-28T22·53+0200
committerVincent Ambo <vincent@spotify.com>2013-07-28T22·53+0200
commitcdffc846bbc81a8bbf976a46321898fdd7073c17 (patch)
tree64eda420b3528da1f605bfb241be968c423960d6 /emacs.d/init-settings.el
parent488a5c4956ea5789528b48d5a8dd97c9c8f3e701 (diff)
Emacs: Various changes:
- Moved Haskell-mode configuration to customize
- Disabled Paredit in non-lisp buffers (or more explicitly: Enabled it
  in Elisp and Clojure buffers)
- Removed some custom items that I don't use anymore (e.g. Jabber-mode
  because I switched to bitlbee with rcirc)
- New packages: hi2 (Haskell indent mode revamped), browse-kill-ring
- Always enable undo-tree-mode and recentf-mode
- Keep all auto-save files in /tmp
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 2d1f3c4bcc..aa702bf8bc 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)