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
|
(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
|
||||||
|
Loading…
Reference in New Issue
Block a user