From: Yuan Fu Date: Sat, 14 May 2022 15:57:23 +0000 (-0700) Subject: ; * lisp/treesit.el (treesit-node-at): Fix typo. X-Git-Tag: emacs-29.0.90~1923 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74f8572f6cfa846f2a86d5f775b6fc2bd47ad269;p=emacs.git ; * lisp/treesit.el (treesit-node-at): Fix typo. --- 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)