Permalink
Browse files

Auto setting erlang model upon opening .erl files

  • Loading branch information...
Vitor Pellegrino
Vitor Pellegrino committed Sep 15, 2012
1 parent 3d624b4 commit 2f0a4aa3e18aa8337e8cfb53c22036ace8159200
Showing with 3 additions and 1 deletion.
  1. +3 −1 emacs.d/init.el
View
@@ -31,7 +31,9 @@
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
`((".*" ,temporary-file-directory t)))
(setq auto-mode-alist (cons '("\\.erl$" . erlang-mode) auto-mode-alist))
;; Remove trailing whitespaces automatically

0 comments on commit 2f0a4aa

Please sign in to comment.