projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f711f4e
)
; (Ftreesit_query_capture): Fix typo
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 1 Feb 2023 01:53:38 +0000
(
03:53
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 1 Feb 2023 01:53:38 +0000
(
03:53
+0200)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index a5815903b4db221e10a55897da69f4ac0fe37fd3..b163685419f800e06c7b112de28fc5bc3aa48cea 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-2755,7
+2755,8
@@
the query. */)
Lisp_Object predicates = AREF (predicates_table, match.pattern_index);
if (EQ (predicates, Qt))
{
- predicates = treesit_predicates_for_pattern (treesit_query, 0);
+ predicates = treesit_predicates_for_pattern (treesit_query,
+ match.pattern_index);
ASET (predicates_table, match.pattern_index, predicates);
}