branch: elpa/scala-mode commit 7faea3153b4a22d582387b4ef76fa285e5befe34 Author: Heikki Vesalainen <heikkivesalai...@yahoo.com> Commit: Heikki Vesalainen <heikkivesalai...@yahoo.com>
also handle .sbt files --- scala-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scala-mode.el b/scala-mode.el index 08cf410..28012e6 100644 --- a/scala-mode.el +++ b/scala-mode.el @@ -129,5 +129,8 @@ When started, runs `scala-mode-hook'. ) ;; Attach .scala files to the scala-mode +(add-to-list 'auto-mode-alist '("\\.sbt\\'" . scala-mode)) +(modify-coding-system-alist 'file "\\.sbt\\'" 'utf-8) + (add-to-list 'auto-mode-alist '("\\.scala\\'" . scala-mode)) (modify-coding-system-alist 'file "\\.scala\\'" 'utf-8)