From 0c16af1e5b067b766e0a4b339d29cb8dbdaeba41 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 22 Jan 2015 13:49:00 -0800 Subject: [PATCH] Remove scala whitespace hook. --- dotfiles/emacs.d/init.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 641463cd..10090d5c 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -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