Subject: bug#58600: 29.0.50; [PATCH] Fix a few typos in treesit.c

From: Daniel Martín <[email-masked]>
Date: Tue, 18 Oct 2022 01:05:13 +0200

Just fixed a couple of typos I've found in treesit.c.

>From 6ddbab79d5f18b769164b63b11db43286e14c709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Tue, 18 Oct 2022 01:00:13 +0200
Subject: [PATCH] ; Fix typos in treesit.c

* src/treesit.c: Fix a couple of typos.
---
 src/treesit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/treesit.c b/src/treesit.c
index 8417b3bb1c..751607eb8a 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -465,7 +465,7 @@ treesit_find_override_name (Lisp_Object language_symbol, Lisp_Object *name,
 
 /* For example, if Vdynamic_library_suffixes is (".so", ".dylib"),
    this function pushes "lib_base_name.so" and "lib_base_name.dylib"
-   into *path_candidates.  Obiviously path_candidates should be a Lisp
+   into *path_candidates.  Obviously path_candidates should be a Lisp
    list of Lisp strings.  */
 static void
 treesit_load_language_push_for_each_suffix (Lisp_Object lib_base_name,
@@ -2746,7 +2746,7 @@ syms_of_treesit (void)
 	       /* Additional directories to look for tree-sitter language definitions.
 The value should be a list of directories.
 When trying to load a tree-sitter language definition,
-Emacs first looks in the directories mentioned in in this variable,
+Emacs first looks in the directories mentioned in this variable,
 then in the `tree-sitter' subdirectory of `user-emacs-directory', and
 then in the system default locations for dynamic libraries, in that order.  */);
   Vtreesit_extra_load_path = Qnil;
-- 
2.34.1