]> code.delx.au - gnu-emacs-elpa/blob - README.md
Merge branch 'master' into 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 user-visible changes, see
7 [Changes from the original mode](https://github.com/mooz/js2-mode/wiki/Changes-from-the-original-mode).
8
9 Installation
10 ======
11
12 $ git clone git://github.com/mooz/js2-mode.git
13 $ cd js2-mode
14 $ git checkout emacs24
15 $ emacs --batch -f batch-byte-compile js2-mode.el
16
17 Then put js2-mode.elc into your site-lisp directory.
18
19 In your emacs config:
20
21 (autoload 'js2-mode "js2-mode" nil t)
22 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
23
24 See <http://code.google.com/p/js2-mode/wiki/InstallationInstructions> for
25 additional details.
26
27 Emacs 22 and 23
28 ===============
29
30 This version requires Emacs 24. For backwards-compatible version, check out the [`master` branch](https://github.com/mooz/js2-mode/tree/master).
31
32 Bugs
33 ====
34
35 If you find problems, please report them at <http://github.com/mooz/js2-mode/issues>.
36
37 See Also
38 ======
39
40 Some third-party modes that use the generated syntax tree:
41
42 * [js2-highlight-vars-mode](http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode)
43 * [js2-refactor](https://github.com/magnars/js2-refactor.el)