]> code.delx.au - gnu-emacs-elpa/blob - README.md
Merge branch 'emacs24'
[gnu-emacs-elpa] / README.md
1 Description
2 ======
3
4 An improved JavaScript mode for GNU Emacs. Forked from <http://code.google.com/p/js2-mode/>.
5
6 For some of the latest changes, see [latest user-visible changes](https://github.com/mooz/js2-mode/wiki/Latest-user-visible-changes).
7
8 Installation
9 ======
10
11 $ git clone git://github.com/mooz/js2-mode.git
12 $ cd js2-mode
13 $ emacs --batch -f batch-byte-compile js2-mode.el
14
15 Then put js2-mode.elc into your site-lisp directory.
16
17 In your emacs config:
18
19 (autoload 'js2-mode "js2-mode" nil t)
20 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
21
22 See <http://code.google.com/p/js2-mode/wiki/InstallationInstructions> for
23 additional details.
24
25 Emacs 22 and 23
26 ===============
27
28 This version requires Emacs 24. For a backward compatible version, check out the branch [emacs23](https://github.com/mooz/js2-mode/tree/emacs23).
29
30 Bugs
31 ====
32
33 If you find problems, please report them at <http://github.com/mooz/js2-mode/issues>.
34
35 See Also
36 ======
37
38 Some third-party modes that use the generated syntax tree:
39
40 * [js2-refactor](https://github.com/magnars/js2-refactor.el)
41 * [skewer-mode](https://github.com/skeeto/skewer-mode)