projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85773ab
)
Improve treesit-node-child-by-field-name docstring
author
Stefan Kangas
<stefankangas@gmail.com>
Sun, 21 Jul 2024 20:20:33 +0000
(22:20 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sun, 21 Jul 2024 20:21:11 +0000
(22:21 +0200)
* src/treesit.c (Ftreesit_node_child_by_field_name): Improve docstring.
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index 7c8c655f5614c12bac20c733f582f1cb367d0062..3ae55d77a91d84d0f145db6da7b9c6ca61079b91 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-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)
{