aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorEli Zaretskii2022-11-21 19:08:25 +0200
committerEli Zaretskii2022-11-21 19:08:25 +0200
commit9f7ae2be60b4205aacf314d38aec7438beebf5a1 (patch)
tree8c8b92e9c66069c3f0d0ffccc9a31beaab6e8102 /lisp/progmodes/python.el
parent24509731652e11bfed4537d7e5ef544014d2970c (diff)
downloademacs-9f7ae2be60b4205aacf314d38aec7438beebf5a1.tar.gz
emacs-9f7ae2be60b4205aacf314d38aec7438beebf5a1.zip
; Silence byte-compiler warnings
* lisp/textmodes/css-mode.el: * lisp/progmodes/python.el: * lisp/progmodes/json-ts-mode.el: * lisp/progmodes/js.el: * lisp/progmodes/java-ts-mode.el: * lisp/progmodes/c-ts-mode.el: Add declarations of tree-sitter functions.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index c9a69a924e0..bb2aa37ca61 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -272,6 +272,15 @@
272(defvar compilation-error-regexp-alist) 272(defvar compilation-error-regexp-alist)
273(defvar outline-heading-end-regexp) 273(defvar outline-heading-end-regexp)
274 274
275(declare-function treesit-parser-create "treesit.c")
276(declare-function treesit-induce-sparse-tree "treesit.c")
277(declare-function treesit-node-child-by-field-name "treesit.c")
278(declare-function treesit-node-type "treesit.c")
279(declare-function treesit-node-start "treesit.c")
280(declare-function treesit-node-end "treesit.c")
281(declare-function treesit-node-parent "treesit.c")
282
283
275(autoload 'comint-mode "comint") 284(autoload 'comint-mode "comint")
276(autoload 'help-function-arglist "help-fns") 285(autoload 'help-function-arglist "help-fns")
277 286