projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42cd52
)
; * src/treesit.c: Minor comment improvement.
author
Yuan Fu
<casouri@gmail.com>
Wed, 23 Nov 2022 20:06:40 +0000
(12:06 -0800)
committer
Yuan Fu
<casouri@gmail.com>
Wed, 23 Nov 2022 21:27:56 +0000
(13:27 -0800)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index 21e1f866f78acddb79798db9c506189ef2a1bc7d..4e07d4d0847592983e791da7cbaf3739c00ab957 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-2568,7
+2568,8
@@
treesit_traverse_child_helper (TSNode node, bool forward, bool named)
}
/* Return true if NODE matches PRED. PRED can be a string or a
- function. This function doesn't check for PRED's type. */
+ function. This function assumes PRED is either a string or a
+ function. */
static bool
treesit_traverse_match_predicate (TSNode node, Lisp_Object pred,
Lisp_Object parser)