]> git.eshelyaron.com Git - emacs.git/commit
* lisp/treesit.el (treesit--after-change): New function.
authorJuri Linkov <juri@linkov.net>
Tue, 8 Apr 2025 17:43:41 +0000 (20:43 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 19:43:13 +0000 (21:43 +0200)
commit281d0de091106d2702b5a7d01f025015c5c44688
treefe80df363afcf1dde7a7683a41e0b01e80d6d866
parentdc6afc494bb6196669fcb1851b240217cee1482b
* lisp/treesit.el (treesit--after-change): New function.

(treesit-major-mode-setup): Set 'outline-minor-mode-hook'
to add 'treesit--after-change' with 'treesit-update-ranges'
to 'after-change-functions' (bug#77256).

(cherry picked from commit bec2de20469db0767d2bd7f60f0d4dfb20269614)
lisp/treesit.el