diff options
| author | Yuan Fu | 2022-10-09 20:54:19 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-09 20:54:19 -0700 |
| commit | aaaa4ca77e440499ec852069efaea42410ebe30b (patch) | |
| tree | 98bb9161edae31c2814b550409023dd3187b34d0 /lisp/progmodes/python.el | |
| parent | bb8376145abadd901b0d8f7f586bef658e2b333c (diff) | |
| download | emacs-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.el | 3 |
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. |
| 291 | Currently `python-mode' uses tree-sitter for font-locking, imenu, | 291 | Currently `python-mode' uses tree-sitter for font-locking, imenu, |
| 292 | and movement functions." | 292 | and 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. |