Fix subword-mode for emacs 24
Fix subword-mode for scala