From 3fa9acf3e7aff7cab41134fe488d4d91f8816510 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 2 Dec 2024 21:51:29 +0100 Subject: [PATCH] * Declare few treesit-* function to clean-up wanrnings * lisp/progmodes/c-ts-common.el (treesit-parser-language) (treesit-node-match-p, treesit-node-child, treesit-node-eq) (treesit-parser-root-node, treesit-node-parser): Declare. (cherry picked from commit f9e7f57f5710fe929fce468f8875a7310e73be05) --- lisp/progmodes/c-ts-common.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index 7273f0f7dba..07789f7203d 100644 --- a/lisp/progmodes/c-ts-common.el +++ b/lisp/progmodes/c-ts-common.el @@ -52,6 +52,12 @@ (declare-function treesit-node-type "treesit.c") (declare-function treesit-node-parent "treesit.c") (declare-function treesit-node-prev-sibling "treesit.c") +(declare-function treesit-parser-language "treesit.c") +(declare-function treesit-node-match-p "treesit.c") +(declare-function treesit-node-child "treesit.c") +(declare-function treesit-node-eq "treesit.c") +(declare-function treesit-parser-root-node "treesit.c") +(declare-function treesit-node-parser "treesit.c") ;;; Comment indentation and filling -- 2.39.2