Skip to content

Commit c66bda1

Browse files
committed
Improve treesit-node-child-by-field-name docstring
* src/treesit.c (Ftreesit_node_child_by_field_name): Improve docstring.
1 parent 85773ab commit c66bda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/treesit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@ nil. If NODE is nil, return nil. */)
21372137
DEFUN ("treesit-node-child-by-field-name",
21382138
Ftreesit_node_child_by_field_name,
21392139
Streesit_node_child_by_field_name, 2, 2, 0,
2140-
doc: /* Return the child of NODE with FIELD-NAME.
2140+
doc: /* Return the child of NODE with FIELD-NAME (a string).
21412141
Return nil if there is no such child. If NODE is nil, return nil. */)
21422142
(Lisp_Object node, Lisp_Object field_name)
21432143
{

0 commit comments

Comments
 (0)