diff options
| author | Juri Linkov | 2025-03-11 20:18:24 +0200 |
|---|---|---|
| committer | Juri Linkov | 2025-03-11 20:18:24 +0200 |
| commit | b741023070e6cfb03a178cab0f6818244af1b0e2 (patch) | |
| tree | acfdfe3d3d8fd7601e1baa7a3f75a3507bf83eb9 /src/coding.c | |
| parent | ef79c8cf3d63f510107536901925c05e37740275 (diff) | |
| download | emacs-b741023070e6cfb03a178cab0f6818244af1b0e2.tar.gz emacs-b741023070e6cfb03a178cab0f6818244af1b0e2.zip | |
Adapt treesit-outline-search to the recent improvements (bug#76398)
* lisp/treesit.el (treesit-closest-parser-boundary):
Remove temporary function.
(treesit-outline-search): Use 'previous/next-single-char-property-change'
with 'treesit-parser' property to find the closest parser boundary.
(treesit-outline-level): Get the 'treesit-host-parser' overlay
and find the parent parser node with 'treesit-node-at'.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions