diff options
| author | Yuan Fu | 2022-11-19 18:58:12 -0800 |
|---|---|---|
| committer | Yuan Fu | 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.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'." | |||
| 6591 | "Major mode for editing Python files, using tree-sitter library. | 6591 | "Major mode for editing Python files, using tree-sitter library. |
| 6592 | 6592 | ||
| 6593 | \\{python-mode-map}" | 6593 | \\{python-mode-map}" |
| 6594 | (when (treesit-ready-p 'python-mode 'python) | 6594 | (when (treesit-ready-p 'python) |
| 6595 | (treesit-parser-create 'python) | 6595 | (treesit-parser-create 'python) |
| 6596 | (setq-local treesit-font-lock-feature-list | 6596 | (setq-local treesit-font-lock-feature-list |
| 6597 | '(( comment string definition) | 6597 | '(( comment string definition) |