diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-10 14:16:25 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-10 14:16:25 -0800 |
commit | 98ed6db34f76cfe37d70d8ad82d29fcfa2a56e24 (patch) | |
tree | 56ad776142c95d2cb96dc0fd31770ae62a54067a /src/treesit.c | |
parent | 2ec403f777adf39d3e972667513086f2053530dd (diff) | |
download | emacs-98ed6db34f76cfe37d70d8ad82d29fcfa2a56e24.tar.gz emacs-98ed6db34f76cfe37d70d8ad82d29fcfa2a56e24.tar.bz2 emacs-98ed6db34f76cfe37d70d8ad82d29fcfa2a56e24.zip |
; Fix docstring graph alignment in Ftreesit_search_forward
* src/treesit.c (Ftreesit_search_forward): Replace tabs with spaces.
Diffstat (limited to 'src/treesit.c')
-rw-r--r-- | src/treesit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/treesit.c b/src/treesit.c index 63785b2122c..854d7754f0a 100644 --- a/src/treesit.c +++ b/src/treesit.c @@ -2649,15 +2649,15 @@ Return the first matched node, or nil if none matches. For a tree like below, where START is marked by S, traverse as numbered from 1 to 12: - 12 - | + 12 + | S--------3----------11 | | | o--o-+--o 1--+--2 6--+-----10 | | | | o o +-+-+ +--+--+ - | | | | | - 4 5 7 8 9 + | | | | | + 4 5 7 8 9 Note that this function doesn't traverse the subtree of START, and it always traverse leaf nodes first, then upwards. */) |