]> code.delx.au - gnu-emacs-elpa/blob - README.md
Update the README
[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 the list of 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 you 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 Bugs
27 ====
28
29 If you find problems, please report them at <http://github.com/mooz/js2-mode/issues>.
30
31 See Also
32 ======
33
34 Some third-party modes that use the generated syntax tree:
35
36 * [js2-highlight-vars-mode](http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode)
37 * [js2-rename-var](https://github.com/magnars/mark-multiple.el/blob/master/js2-rename-var.el)