diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index c00de2d6a8d..bd8ec236207 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -259,7 +259,14 @@ | |||
| 259 | (require 'compat) | 259 | (require 'compat) |
| 260 | (require 'project nil 'noerror) | 260 | (require 'project nil 'noerror) |
| 261 | (require 'seq) | 261 | (require 'seq) |
| 262 | (treesit-declare-unavailable-functions) | 262 | |
| 263 | (declare-function treesit-parser-create "treesit.c") | ||
| 264 | (declare-function treesit-induce-sparse-tree "treesit.c") | ||
| 265 | (declare-function treesit-node-child-by-field-name "treesit.c") | ||
| 266 | (declare-function treesit-node-type "treesit.c") | ||
| 267 | (declare-function treesit-node-start "treesit.c") | ||
| 268 | (declare-function treesit-node-end "treesit.c") | ||
| 269 | (declare-function treesit-node-parent "treesit.c") | ||
| 263 | 270 | ||
| 264 | ;; Avoid compiler warnings | 271 | ;; Avoid compiler warnings |
| 265 | (defvar compilation-error-regexp-alist) | 272 | (defvar compilation-error-regexp-alist) |