From: Yuan Fu Date: Fri, 8 Sep 2023 16:07:46 +0000 (-0700) Subject: ; * lisp/treesit.el (treesit--indent-1): Add missing call. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2db725fb243b4310b7fea19af4c2f01cb4a7e0f6;p=emacs.git ; * lisp/treesit.el (treesit--indent-1): Add missing call. --- diff --git a/lisp/treesit.el b/lisp/treesit.el index c5ca492a837..63ec880b601 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -1625,7 +1625,8 @@ Return (ANCHOR . OFFSET). This function is used by (local-parsers (treesit-local-parsers-at bol)) (smallest-node (cond ((null (treesit-parser-list)) nil) - (local-parsers (car local-parsers)) + (local-parsers (treesit-node-at + bol (car local-parsers))) ((eq 1 (length (treesit-parser-list))) (treesit-node-at bol)) ((treesit-language-at (point))