hvesalai / emacs-scala-mode

The definitive scala-mode for emacs
http://ensime.org
GNU General Public License v3.0
361 stars 68 forks source link

Update install instructions #49

Closed zbskii closed 11 years ago

zbskii commented 11 years ago

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.

hvesalai commented 11 years ago

So what you are saying is that on the first start-up it will fail since the package has not been loaded yet?

Could you amend your commit so that also .sbt is added to the list of file extensions of scala-mode.

zbskii commented 11 years ago

@hvesalai see: http://emacswiki.org/emacs/ELPA#toc3

Most people will just drop (require 'scala-mode2) in their .emacs file; this won't work as scala-mode2 won't be defined yet.

hvesalai commented 11 years ago

Thank you!