]> code.delx.au - gnu-emacs-elpa/blob - README.md
Change the wiki link
[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 24
26 ========
27
28 The version from the [branch `emacs24`](https://github.com/mooz/js2-mode/tree/emacs24) is recommended.
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-highlight-vars-mode](http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode)
41 * [js2-refactor](https://github.com/magnars/js2-refactor.el)