summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/treesit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 83d80ac6dab..a374ceda6d5 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -48,7 +48,7 @@
Currently this function checks whether tree-sitter is available
and the buffer size."
(and (treesit-available-p)
- (< (buffer-size) treesit-maximum-size)))
+ (< (buffer-size) treesit-max-buffer-size)))
;;; Parser API supplement