1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00

; (Ftreesit_query_capture): Fix typo

This commit is contained in:
Dmitry Gutov 2023-02-01 03:53:38 +02:00
parent f711f4e99f
commit 66aa9cb450

View file

@ -2755,7 +2755,8 @@ the query. */)
Lisp_Object predicates = AREF (predicates_table, match.pattern_index); Lisp_Object predicates = AREF (predicates_table, match.pattern_index);
if (EQ (predicates, Qt)) 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); ASET (predicates_table, match.pattern_index, predicates);
} }