From: Yuan Fu Date: Thu, 10 Nov 2022 22:16:25 +0000 (-0800) Subject: ; Fix docstring graph alignment in Ftreesit_search_forward X-Git-Tag: emacs-29.0.90~1683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98ed6db34f76cfe37d70d8ad82d29fcfa2a56e24;p=emacs.git ; Fix docstring graph alignment in Ftreesit_search_forward * src/treesit.c (Ftreesit_search_forward): Replace tabs with spaces. --- 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. */)