From 74f8572f6cfa846f2a86d5f775b6fc2bd47ad269 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sat, 14 May 2022 08:57:23 -0700 Subject: [PATCH] ; * lisp/treesit.el (treesit-node-at): Fix typo. --- lisp/treesit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/treesit.el b/lisp/treesit.el index 1cfdab95ca8..3313168d667 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -142,7 +142,7 @@ that language in the current buffer, and use that." (let ((node (if (treesit-parser-p parser-or-lang) (treesit-parser-root-node parser-or-lang) (treesit-buffer-root-node parser-or-lang)))) - ;; TODO: We might want a `treesit-node-decendant-for-pos' in C. + ;; TODO: We might want a `treesit-node-descendant-for-pos' in C. (while (cond ((and node (< (treesit-node-end node) point)) (setq node (treesit-node-next-sibling node)) t) -- 2.39.5