An improved JavaScript mode for GNU Emacs. Forked from <http://code.google.com/p/js2-mode/>.
-For the list of user-visible changes, see
-[Changes from the original mode](https://github.com/mooz/js2-mode/wiki/Changes-from-the-original-mode).
+For some of the latest changes, see [latest user-visible changes](https://github.com/mooz/js2-mode/wiki/Latest-user-visible-changes).
Installation
======
Then put js2-mode.elc into your site-lisp directory.
-In you emacs config:
+In your emacs config:
(autoload 'js2-mode "js2-mode" nil t)
- (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
+ (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
See <http://code.google.com/p/js2-mode/wiki/InstallationInstructions> for
additional details.
+Emacs 22 and 23
+===============
+
+This version requires Emacs 24. For a backward compatible version, check out the branch [emacs23](https://github.com/mooz/js2-mode/tree/emacs23).
+
Bugs
====
Some third-party modes that use the generated syntax tree:
-* [js2-highlight-vars-mode](http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode)
-* [js2-rename-var](https://github.com/magnars/mark-multiple.el/blob/master/js2-rename-var.el)
+* [js2-refactor](https://github.com/magnars/js2-refactor.el)
+* [skewer-mode](https://github.com/skeeto/skewer-mode)