From 8c4b939fa599aea11c18e2abdffa4ad4cc4359c6 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 1 Jun 2016 23:47:21 +0300 Subject: [PATCH] Make the scala-mode dependency explicit This commit also adds back the auto-enabling of subword-mode together with scala-mode. --- modules/prelude-scala.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/prelude-scala.el b/modules/prelude-scala.el index 53c5794..3150ac8 100644 --- a/modules/prelude-scala.el +++ b/modules/prelude-scala.el @@ -33,10 +33,11 @@ ;;; Code: (require 'prelude-programming) -(prelude-require-packages '(ensime)) +(prelude-require-packages '(scala-mode ensime)) (defun prelude-scala-mode-defaults () - (ensime-mode)) + (subword-mode +1) + (ensime-mode +1)) (setq prelude-scala-mode-hook 'prelude-scala-mode-defaults)