From: Dmitry Gutov Date: Wed, 1 Feb 2023 01:53:38 +0000 (+0200) Subject: ; (Ftreesit_query_capture): Fix typo X-Git-Tag: emacs-29.0.90~549 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66aa9cb450ae3f313e836eed27de553df736e0f3;p=emacs.git ; (Ftreesit_query_capture): Fix typo --- diff --git a/src/treesit.c b/src/treesit.c index a5815903b4d..b163685419f 100644 --- 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); }