diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-19 18:58:12 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-19 18:58:12 -0800 |
commit | 4fa13b2d838e11cbe3b713f3172721cb61d499f3 (patch) | |
tree | 9f5bbeabcf08a467422469c811bb68169e3feb48 /lisp/progmodes/python.el | |
parent | f17ca55a0a3c9de1061285763cbf0bd3754f6718 (diff) | |
download | emacs-4fa13b2d838e11cbe3b713f3172721cb61d499f3.tar.gz emacs-4fa13b2d838e11cbe3b713f3172721cb61d499f3.tar.bz2 emacs-4fa13b2d838e11cbe3b713f3172721cb61d499f3.zip |
Fix uses of treesit-ready-p
* lisp/progmodes/c-ts-mode.el (c-ts-mode)
(c++-ts-mode)
* lisp/progmodes/java-ts-mode.el (java-ts-mode)
* lisp/progmodes/js.el (js-ts-mode)
* lisp/progmodes/json-ts-mode.el (json-ts-mode)
* lisp/progmodes/python.el (python-ts-mode)
* lisp/progmodes/sh-script.el (sh-mode)
* lisp/progmodes/ts-mode.el (ts-mode): Remove the MODE argument.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 456f141960e..d16aeaf0133 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -6591,7 +6591,7 @@ implementations: `python-mode' and `python-ts-mode'." "Major mode for editing Python files, using tree-sitter library. \\{python-mode-map}" - (when (treesit-ready-p 'python-mode 'python) + (when (treesit-ready-p 'python) (treesit-parser-create 'python) (setq-local treesit-font-lock-feature-list '(( comment string definition) |