]> git.eshelyaron.com Git - emacs.git/commit
bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp
authorLiam Hupfer <liam@hpfr.net>
Thu, 26 Jun 2025 03:47:34 +0000 (22:47 -0500)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:07:51 +0000 (22:07 +0200)
commit815c59dacdd6c71efcf23c824d263f8636a8c90b
tree362f75c10f86f94634fa420353e3a9b376bb9fc8
parent8ae68b5b79ed7350c402fedeade12682a81e84b7
bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp

Align the js-ts-mode entry with the javascript-mode entries in the
default auto-mode-alist value in lisp/files.el. Otherwise, js-ts-mode is
not associated with .js files.

* lisp/progmodes/js.el (js-ts-mode): Fix auto-mode-alist regexp.

Fixes: 2023-01-20 6b2f85caa6ca "Make tree-sitter based modes optional"
(cherry picked from commit 6299eb0fe54c87bcbb0f6ab4de3e4f9e250d4586)
lisp/progmodes/js.el