]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/treesit.el (treesit--indent-1): Add missing call.
authorYuan Fu <casouri@gmail.com>
Fri, 8 Sep 2023 16:07:46 +0000 (09:07 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 8 Sep 2023 16:08:28 +0000 (09:08 -0700)
lisp/treesit.el

index c5ca492a837f6741278138c9e9957815494fe5b1..63ec880b601cc829117debcbf75cf0dc0f0e85a6 100644 (file)
@@ -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))