diff options
| author | Yuan Fu | 2023-04-16 20:35:45 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-04-16 20:35:45 -0700 |
| commit | a46201f57eb114b8107435caf3588edbb666829e (patch) | |
| tree | 6359c5d691daa9deff5f54d9f369b4b9cc9ead4c /src | |
| parent | d005e685e1df7692085378633348db39a5190374 (diff) | |
| download | emacs-a46201f57eb114b8107435caf3588edbb666829e.tar.gz emacs-a46201f57eb114b8107435caf3588edbb666829e.zip | |
; Fix typos in treesit.c
* src/treesit.c (treesit_traverse_validate_predicate)
(Ftreesit_node_match_p): Fix typos.
Diffstat (limited to 'src')
| -rw-r--r-- | src/treesit.c | 4 |
1 files 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, | |||
| 3207 | { | 3207 | { |
| 3208 | *signal_data = list2 (build_string ("Cannot find the definition " | 3208 | *signal_data = list2 (build_string ("Cannot find the definition " |
| 3209 | "of the predicate in " | 3209 | "of the predicate in " |
| 3210 | "`treesit-things-settings'"), | 3210 | "`treesit-thing-settings'"), |
| 3211 | pred); | 3211 | pred); |
| 3212 | return false; | 3212 | return false; |
| 3213 | } | 3213 | } |
| @@ -3705,7 +3705,7 @@ DEFUN ("treesit-node-match-p", | |||
| 3705 | doc: /* Check whether NODE matches PREDICATE. | 3705 | doc: /* Check whether NODE matches PREDICATE. |
| 3706 | 3706 | ||
| 3707 | PREDICATE can be a regexp matching node type, a predicate function, | 3707 | PREDICATE can be a regexp matching node type, a predicate function, |
| 3708 | and more, see `treesit-things-definition' for detail. Return non-nil | 3708 | and more, see `treesit-thing-settings' for detail. Return non-nil |
| 3709 | if NODE matches PRED, nil otherwise. */) | 3709 | if NODE matches PRED, nil otherwise. */) |
| 3710 | (Lisp_Object node, Lisp_Object predicate) | 3710 | (Lisp_Object node, Lisp_Object predicate) |
| 3711 | { | 3711 | { |