diff options
| author | Eli Zaretskii | 2025-09-25 20:06:12 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-09-25 20:06:12 +0300 |
| commit | 69ac58b5d2a87be4d88543399f97486a31a95498 (patch) | |
| tree | d6edf5ce0989fb942a29d2adc890f1905474eaf6 /lisp/progmodes/python.el | |
| parent | b2e35d1d2c52d9d00809550702f9f4628651cfe2 (diff) | |
| download | emacs-69ac58b5d2a87be4d88543399f97486a31a95498.tar.gz emacs-69ac58b5d2a87be4d88543399f97486a31a95498.zip | |
; Avoid byte-compiler warnings in python.el
* lisp/progmodes/python.el (treesit-node-prev-sibling)
(treesit-node-field-name-for-child): Declare.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3f86c112265..f06d58a6c20 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -267,7 +267,9 @@ | |||
| 267 | (declare-function treesit-node-start "treesit.c") | 267 | (declare-function treesit-node-start "treesit.c") |
| 268 | (declare-function treesit-node-end "treesit.c") | 268 | (declare-function treesit-node-end "treesit.c") |
| 269 | (declare-function treesit-node-parent "treesit.c") | 269 | (declare-function treesit-node-parent "treesit.c") |
| 270 | (declare-function treesit-node-child "treesit.c") | ||
| 270 | (declare-function treesit-node-prev-sibling "treesit.c") | 271 | (declare-function treesit-node-prev-sibling "treesit.c") |
| 272 | (declare-function treesit-node-field-name-for-child "treesit.c") | ||
| 271 | 273 | ||
| 272 | (add-to-list | 274 | (add-to-list |
| 273 | 'treesit-language-source-alist | 275 | 'treesit-language-source-alist |