]> code.delx.au - gnu-emacs-elpa/commit
Make the mode a better Emacs citizen
authorSteve Yegge <steve.yegge@gmail.com>
Fri, 20 Apr 2012 01:28:36 +0000 (05:28 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 20 Apr 2012 01:32:52 +0000 (05:32 +0400)
commit1ddd03c29b469ae525c7783168c082099684f2a3
tree751da0145afce0f98353f6a17cd1a6b78562f62c
parentc47c034230639afd5abf8ba22e696be9aeaf0387
Make the mode a better Emacs citizen

New features:
* Introduce `js2-minor-mode', to run parser with another major mode active.
* Add `js2-display-error-list'.

Breaking changes:
* Emacs 24 only.
* Don't set up mode association automatically for *.js files.
* Get rid of the mirror-mode (use electric-pair-mode).
* Get rid of the auto-indent code (use electric-indent-mode).
* Get rid of the js2-rebind-eol-bol-keys.
* Don't rebind RET. Use M-j to extend comments.
* Don't bind `js2-mark-defun' and `js2-narrow-to-defun'.

Other changes:
* Derive from `prog-mode'.
* Improve documentation style.
* Consistently use 'js2-' prefix.
* Replace `defsubst' with `defun' is many cases.
* Don't use `save-match-data' unless required (which is currently never).

Incorporates a patch by Stefan Monnier.
js2-mode.el