1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Improve treesit-node-child-by-field-name docstring

* src/treesit.c (Ftreesit_node_child_by_field_name): Improve docstring.
This commit is contained in:
Stefan Kangas 2024-07-21 22:20:33 +02:00
parent 85773ab977
commit c66bda1a19

View File

@ -2137,7 +2137,7 @@ nil. If NODE is nil, return nil. */)
DEFUN ("treesit-node-child-by-field-name",
Ftreesit_node_child_by_field_name,
Streesit_node_child_by_field_name, 2, 2, 0,
doc: /* Return the child of NODE with FIELD-NAME.
doc: /* Return the child of NODE with FIELD-NAME (a string).
Return nil if there is no such child. If NODE is nil, return nil. */)
(Lisp_Object node, Lisp_Object field_name)
{