Home - Installation
To install js3-mode:
bin/buildfrom the command-line. If you can't run that for whatever reason, do:
M-x byte-compile-file RET js3.el RETor on the command-line:
emacs --batch -f batch-byte-compile js3.elIt is important that you byte-compile the file using your version of emacs - one compiled with a different version of emacs might not work for you.
M-x customize-group RET js3-mode RET
The .emacs file included with the source has an example of setting the mode to start for .js files.
In case you're not sure how to add something to your .emacs include path, here's an example (unix):
cd ~ mkdir emacs mv js3.el emacs
In your .emacs file:
(setq load-path (cons "~/emacs" load-path))