]> git.eshelyaron.com Git - emacs.git/commitdiff
* Declare few treesit-* function to clean-up wanrnings
authorAndrea Corallo <acorallo@gnu.org>
Mon, 2 Dec 2024 20:51:29 +0000 (21:51 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Dec 2024 17:04:54 +0000 (18:04 +0100)
* 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

index 7273f0f7dbab5b58fdce85819fff9f623b9e4d49..07789f7203d85490281cbb0629f5d020f6dfdf3b 100644 (file)
 (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