Remove scala whitespace hook.
This commit is contained in:
parent
4d42656755
commit
0c16af1e5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user