* lisp/progmodes/js.el (js-mode-map, js-ts-mode-map): Remove.
The global binding must be a lot more useful for most users
(https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01295.html).
(if any), so that the ignore rules for that repository are used, and
the file listing's performance is still optimized.
+** JS Mode
+The binding 'M-.' has been removed from the major mode keymaps in
+'js-mode' and 'js-ts-mode', having it default to the global binding
+which calls 'xref-find-definitions'. If the previous one worked
+better for you, use 'define-key' in your init script to bind
+'js-find-symbol' to that combination again.
+
\f
* Incompatible Lisp Changes in Emacs 30.1
:type 'integer
:safe 'integerp)
-;;; Keymap
-
-(defvar-keymap js-mode-map
- :doc "Keymap for `js-mode'."
- "M-." #'js-find-symbol)
-
-(defvar js-ts-mode-map (copy-keymap js-mode-map)
- "Keymap used in `js-ts-mode'.")
-
;;; Syntax table and parsing
(defvar js-mode-syntax-table