emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 66aa9cb450a: ; (Ftreesit_query_capture): Fix typo


From: Dmitry Gutov
Subject: emacs-29 66aa9cb450a: ; (Ftreesit_query_capture): Fix typo
Date: Tue, 31 Jan 2023 20:53:57 -0500 (EST)

branch: emacs-29
commit 66aa9cb450ae3f313e836eed27de553df736e0f3
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    ; (Ftreesit_query_capture): Fix typo
---
 src/treesit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);
        }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]