]> code.delx.au - gnu-emacs-elpa/commitdiff
Add NEWS and bump the version
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Sep 2015 18:36:29 +0000 (21:36 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Sep 2015 18:36:29 +0000 (21:36 +0300)
NEWS.md
js2-mode.el

diff --git a/NEWS.md b/NEWS.md
index 300bc843c4bc457a210793fa3fb54debedc26a42..798c51aa4ca0933c038b34408dfb49dbcefd073e 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,23 @@
 # History of user-visible changes
 
+## 20150909
+
+* `js2-mode` now derives from `js-mode`. That means the former
+  function will run `js-mode-hook`, as well as `js2-mode-hook`. The
+  key bindings will default to `js-mode-map` where they're not set in
+  `js2-mode-map`. And in Emacs 25 or later (including the snapshot
+  builds), `js2-mode` uses the indentation code from `js-mode`.  Where
+  feasible, the user options (and functions) now have aliases, but if
+  you're using Emacs 25 and you see an indentation-related setting
+  that stopped working, try setting the one for the `js` group: `M-x
+  customize-group RET js RET`.
+
+* New command: `js2-jump-to-definition`. It's bound to `M-.` by
+  default, via remapping `js-find-symbol`. To get back to the default
+  `M-.` binding (e.g. `find-tag`), put this in your init file:
+
+      (eval-after-load 'js (define-key js-mode-map (kbd "M-.") nil))
+
 ## 20150713
 
 * More comprehensive strict mode warnings and syntax errors.
index 975f71f68aff0225be1136948a78c0af1d956585..926003d5a80a1166c088b8ff8b7494bfbd462c9f 100644 (file)
@@ -7,7 +7,7 @@
 ;;         Dmitry Gutov <dgutov@yandex.ru>
 ;; URL:  https://github.com/mooz/js2-mode/
 ;;       http://code.google.com/p/js2-mode/
-;; Version: 20150713
+;; Version: 20150909
 ;; Keywords: languages, javascript
 ;; Package-Requires: ((emacs "24.1") (cl-lib "0.5"))