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

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

[nongnu] elpa/scala-mode 18a52f0 094/217: Update installation instructio


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode 18a52f0 094/217: Update installation instructions
Date: Sun, 29 Aug 2021 11:30:50 -0400 (EDT)

branch: elpa/scala-mode
commit 18a52f035ab2d908b59d70adeb18335d1f602296
Author: zbskii <brett@rdnzl.net>
Commit: zbskii <brett@rdnzl.net>

    Update installation instructions
    
    If a user installs scala-mode2 via elpa we don't want to encourage them to 
'require scala-mode2'
    as most users will stick this in their .emacs which won't work since elpa 
packages are loaded *after*
    the emacs init file.
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f6eeab2..cb4b7c9 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ to the load-path and then to require it. For more information 
regarding
         to activate the mode:
 
         ```
-        (require 'scala-mode2)
+        (add-to-list 'auto-mode-alist '("\\.scala" . scala-mode2))
         ```
 
     2. Manual:
@@ -439,4 +439,4 @@ Contributors and valuable feedback:
 - Evan Meagher
 - Andrew Jones
 - Vasya Novikov
-- Hugh Giddens
\ No newline at end of file
+- Hugh Giddens



reply via email to

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