aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/treesit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 63ec880b601..1711446b40b 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -1627,7 +1627,7 @@ Return (ANCHOR . OFFSET). This function is used by
1627 (cond ((null (treesit-parser-list)) nil) 1627 (cond ((null (treesit-parser-list)) nil)
1628 (local-parsers (treesit-node-at 1628 (local-parsers (treesit-node-at
1629 bol (car local-parsers))) 1629 bol (car local-parsers)))
1630 ((eq 1 (length (treesit-parser-list))) 1630 ((eq 1 (length (treesit-parser-list nil nil t)))
1631 (treesit-node-at bol)) 1631 (treesit-node-at bol))
1632 ((treesit-language-at (point)) 1632 ((treesit-language-at (point))
1633 (treesit-node-at bol (treesit-language-at (point)))) 1633 (treesit-node-at bol (treesit-language-at (point))))