* lisp/progmodes/python.el (python-use-tree-sitter): Add version tag.
* lisp/treesit.el (treesit):
(treesit-max-buffer-size): Add version tag.
"If non-nil, `python-mode' tries to use tree-sitter.
Currently `python-mode' uses tree-sitter for font-locking, imenu,
and movement functions."
- :type 'boolean)
+ :type 'boolean
+ :version "29.1")
(defcustom python-interpreter "python"
"Python interpreter for noninteractive use.
(defgroup treesit
nil
"Tree-sitter is an incremental parser."
- :group 'tools)
+ :group 'tools
+ :version "29.1")
(defcustom treesit-max-buffer-size (* 4 1024 1024)
- "Maximum buffer size for enabling tree-sitter parsing."
- :type 'integer)
+ "Maximum buffer size for enabling tree-sitter parsing (in bytes)."
+ :type 'integer
+ :version "29.1")
(defun treesit-available-p ()
"Return non-nil if tree-sitter features are available."