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