]> git.eshelyaron.com Git - emacs.git/commit
* lisp/treesit.el: Use forward-list-default-function for C-M-n
authorJuri Linkov <juri@linkov.net>
Mon, 6 Jan 2025 18:02:18 +0000 (20:02 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 Jan 2025 08:36:57 +0000 (09:36 +0100)
commit0d0097a6c41a9cacb030d579ec30582a7e378d7e
tree65cf61f717e0511a110f452c593ac48536ff291d
parent08716b9a0aeea0f59e926dc7665a963d698c4e0d
* lisp/treesit.el: Use forward-list-default-function for C-M-n

(treesit--forward-list-with-default): New internal function
with body from 'treesit-forward-sexp-list' (bug#73404).
(treesit-forward-sexp-list, treesit-forward-list):
Replace body with a call to the shared implementation
'treesit--forward-list-with-default' using the
corresponding default function as an argument.

(cherry picked from commit 997b9b8d38fd8a770fb1e0b3c85abae2c0d6cdd3)
lisp/treesit.el