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 (use-package scala-mode2
:init :init
(progn (add-hook 'scala-mode-hook (progn
(lambda () ;; (add-hook 'scala-mode-hook
(require 'whitespace) ;; (lambda ()
(make-local-variable 'before-save-hook) ;; (require 'whitespace)
(add-hook 'before-save-hook 'whitespace-cleanup) ;; (make-local-variable 'before-save-hook)
(whitespace-mode)))) ;; (add-hook 'before-save-hook 'whitespace-cleanup)
;; (whitespace-mode)))
)
:config :config
(progn (progn
(use-package ensime (use-package ensime