From: Yuan Fu Date: Wed, 26 Oct 2022 03:28:40 +0000 (-0700) Subject: ; * src/treesit.c (treesit_search_forward): Fix comment. X-Git-Tag: emacs-29.0.90~1785 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c1b9e65b9d1c73ccc4ce18842d10bc507cdee38;p=emacs.git ; * src/treesit.c (treesit_search_forward): Fix comment. --- diff --git a/src/treesit.c b/src/treesit.c index 9136539b8b6..0f949b75542 100644 --- a/src/treesit.c +++ b/src/treesit.c @@ -2469,7 +2469,7 @@ treesit_search_dfs (TSNode *root, Lisp_Object pred, Lisp_Object parser, } } -/* Go thought the whole tree linearly depth first, starting from +/* Go thought the whole tree linearly, leaf-first, starting from START. PRED, PARSER, NAMED, FORWARD are the same as in ts_search_subtre. If UP_ONLY is true, never go to children, only sibling and parents. */