[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/tree-sitter 56dbb5db3b 1/2: * lisp/treesit.el (treesit-can-enabl
From: |
Yuan Fu |
Subject: |
feature/tree-sitter 56dbb5db3b 1/2: * lisp/treesit.el (treesit-can-enable-p): Minor fix. |
Date: |
Thu, 8 Sep 2022 15:53:21 -0400 (EDT) |
branch: feature/tree-sitter
commit 56dbb5db3b10d031826f02d3cf77449d81a2b682
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
* lisp/treesit.el (treesit-can-enable-p): Minor fix.
---
lisp/treesit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 83d80ac6da..a374ceda6d 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