emacs-diffs
[Top][All Lists]
Advanced

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

master a46201f57eb 2/2: ; Fix typos in treesit.c


From: Yuan Fu
Subject: master a46201f57eb 2/2: ; Fix typos in treesit.c
Date: Sun, 16 Apr 2023 23:36:36 -0400 (EDT)

branch: master
commit a46201f57eb114b8107435caf3588edbb666829e
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; Fix typos in treesit.c
    
    * src/treesit.c (treesit_traverse_validate_predicate)
    (Ftreesit_node_match_p): Fix typos.
---
 src/treesit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/treesit.c b/src/treesit.c
index 48abbc5fb4e..cbcc688571b 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -3207,7 +3207,7 @@ treesit_traverse_validate_predicate (Lisp_Object pred,
        {
          *signal_data = list2 (build_string ("Cannot find the definition "
                                              "of the predicate in "
-                                             "`treesit-things-settings'"),
+                                             "`treesit-thing-settings'"),
                                pred);
          return false;
        }
@@ -3705,7 +3705,7 @@ DEFUN ("treesit-node-match-p",
        doc: /* Check whether NODE matches PREDICATE.
 
 PREDICATE can be a regexp matching node type, a predicate function,
-and more, see `treesit-things-definition' for detail.  Return non-nil
+and more, see `treesit-thing-settings' for detail.  Return non-nil
 if NODE matches PRED, nil otherwise.  */)
   (Lisp_Object node, Lisp_Object predicate)
 {



reply via email to

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