Remove scala whitespace hook.

This commit is contained in:
Ivan Malison 2015-01-22 13:49:00 -08:00
parent 4d42656755
commit 0c16af1e5b

View File

@ -1397,12 +1397,14 @@ window is active in the perspective."
(use-package scala-mode2
:init
(progn (add-hook 'scala-mode-hook
(lambda ()
(require 'whitespace)
(make-local-variable 'before-save-hook)
(add-hook 'before-save-hook 'whitespace-cleanup)
(whitespace-mode))))
(progn
;; (add-hook 'scala-mode-hook
;; (lambda ()
;; (require 'whitespace)
;; (make-local-variable 'before-save-hook)
;; (add-hook 'before-save-hook 'whitespace-cleanup)
;; (whitespace-mode)))
)
:config
(progn
(use-package ensime