aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-09 20:54:19 -0700
committerYuan Fu2022-10-09 20:54:19 -0700
commitaaaa4ca77e440499ec852069efaea42410ebe30b (patch)
tree98bb9161edae31c2814b550409023dd3187b34d0 /lisp/progmodes/python.el
parentbb8376145abadd901b0d8f7f586bef658e2b333c (diff)
downloademacs-aaaa4ca77e440499ec852069efaea42410ebe30b.tar.gz
emacs-aaaa4ca77e440499ec852069efaea42410ebe30b.zip
Add :version tag for new tree-sitter custom options
* lisp/progmodes/python.el (python-use-tree-sitter): Add version tag. * lisp/treesit.el (treesit): (treesit-max-buffer-size): Add version tag.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index d87789fd773..a0466707e60 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -290,7 +290,8 @@
290 "If non-nil, `python-mode' tries to use tree-sitter. 290 "If non-nil, `python-mode' tries to use tree-sitter.
291Currently `python-mode' uses tree-sitter for font-locking, imenu, 291Currently `python-mode' uses tree-sitter for font-locking, imenu,
292and movement functions." 292and movement functions."
293 :type 'boolean) 293 :type 'boolean
294 :version "29.1")
294 295
295(defcustom python-interpreter "python" 296(defcustom python-interpreter "python"
296 "Python interpreter for noninteractive use. 297 "Python interpreter for noninteractive use.