From: Eli Zaretskii Date: Thu, 2 Mar 2023 07:33:04 +0000 (+0200) Subject: ; Avoid byte-compilation warning in c-ts-mode.el X-Git-Tag: emacs-29.0.90~272 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f43a16bc63eac12db5707b26da2507077b4f13c;p=emacs.git ; Avoid byte-compilation warning in c-ts-mode.el * lisp/progmodes/c-ts-mode.el (treesit-node-first-child-for-pos): Declare. --- diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 259b96d342e..a29bf4f3480 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -78,6 +78,7 @@ (declare-function treesit-node-child-by-field-name "treesit.c") (declare-function treesit-node-type "treesit.c") (declare-function treesit-node-prev-sibling "treesit.c") +(declare-function treesit-node-first-child-for-pos "treesit.c") ;;; Custom variables