]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos in treesit.c
authorYuan Fu <casouri@gmail.com>
Mon, 17 Apr 2023 03:35:45 +0000 (20:35 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 17 Apr 2023 03:35:45 +0000 (20:35 -0700)
* src/treesit.c (treesit_traverse_validate_predicate)
(Ftreesit_node_match_p): Fix typos.

src/treesit.c

index 48abbc5fb4e67c3a850ef58c9978a9b3f1b4550b..cbcc688571bf36e53fbbdf65f3765c5523c54980 100644 (file)
@@ -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)
 {