From: Yuan Fu Date: Thu, 8 Sep 2022 19:50:47 +0000 (-0700) Subject: * lisp/treesit.el (treesit-can-enable-p): Minor fix. X-Git-Tag: emacs-29.0.90~1888 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56dbb5db3b10d031826f02d3cf77449d81a2b682;p=emacs.git * lisp/treesit.el (treesit-can-enable-p): Minor fix. --- 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