emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scala-mode 54fa36f 200/217: Merge pull request #159 from k


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode 54fa36f 200/217: Merge pull request #159 from kpbochenek/fix-files-association-alist
Date: Sun, 29 Aug 2021 11:31:12 -0400 (EDT)

branch: elpa/scala-mode
commit 54fa36f69fb0e683b48f02d29581cfca66f64445
Merge: 46bb948 e0341e9
Author: Heikki Vesalainen <heikkivesalainen@yahoo.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #159 from kpbochenek/fix-files-association-alist
    
    Recognize worksheets as scala files
---
 scala-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scala-mode.el b/scala-mode.el
index bfe55f3..fecf4fb 100644
--- a/scala-mode.el
+++ b/scala-mode.el
@@ -175,8 +175,8 @@ When started, runs `scala-mode-hook'.
 ;;;###autoload
 (progn
   (add-to-list 'auto-mode-alist
-               '("\\.\\(scala\\|sbt\\)\\'" . scala-mode))
-  (modify-coding-system-alist 'file "\\.\\(scala\\|sbt\\)\\'" 'utf-8))
+               '("\\.\\(scala\\|sbt\\|worksheet\\.sc\\)\\'" . scala-mode))
+  (modify-coding-system-alist 'file "\\.\\(scala\\|sbt\\|worksheet\\.sc\\)\\'" 
'utf-8))
 
 (provide 'scala-mode)
 ;;; scala-mode.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]