Skip to content
Browse files

Pulling scala settings into a separate file

  • Loading branch information...
1 parent fb8047b commit e38ef8641fdec92ca9241cbe7da6845e8c8294a3 @pgrkr pgrkr committed Mar 31, 2013
Showing with 8 additions and 4 deletions.
  1. +2 −4 init.el
  2. +6 −0 scala-settings.el
View
6 init.el
@@ -242,10 +242,8 @@
auto-mode-alist)))
(setq sml-program-name "sml")
-(require 'scala-mode2)
-(add-to-list 'load-path "~/ensime/elisp")
-(require 'ensime)
-(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
+;; Load up Scala settings
+(require 'scala-settings)
(custom-set-faces
;; custom-set-faces was added by Custom.
View
6 scala-settings.el
@@ -0,0 +1,6 @@
+(require 'scala-mode2)
+(add-to-list 'load-path "~/ensime/elisp")
+(require 'ensime)
+(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
+
+(provide 'scala-settings)

0 comments on commit e38ef86

Please sign in to comment.
Something went wrong with that request. Please try again.