]> git.eshelyaron.com Git - emacs.git/commit
Fix js--treesit-beginning/end-of-defun
authorYuan Fu <casouri@gmail.com>
Mon, 10 Oct 2022 17:46:47 +0000 (10:46 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 10 Oct 2022 17:46:47 +0000 (10:46 -0700)
commit2a762336da4d886a4f1b3ee463fd66393d739309
tree796b947b046cc6970959df2758e994184e320f1a
parentceb9591e5dcb5264573371a573433fd76320954e
Fix js--treesit-beginning/end-of-defun

* lisp/progmodes/js.el (require): Add rx.
(js--treesit-move-to-node): Remove function.
(js--treesit-beginning-of-defun)
(js--treesit-end-of-defun): Change to use treesit-search-forward-goto.
(js-treesit--defun-query): Remove variable.
(js--treesit-defun-type-regexp): Add variable.
lisp/progmodes/js.el