From: Eli Zaretskii Date: Sat, 11 May 2024 10:54:35 +0000 (+0300) Subject: ; Fix byte-compilation warnings in lua-ts-mode.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d27c8b75205062c02684d60d9953a16e7511d719;p=emacs.git ; Fix byte-compilation warnings in lua-ts-mode.el * lisp/progmodes/lua-ts-mode.el (treesit-node-eq) (treesit-node-prev-sibling): Declare. (cherry picked from commit 733ff78581a7d659fee53e5bfd7cc8904a31082e) --- diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index f15edd040cc..0568e0d273c 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -40,8 +40,10 @@ (declare-function treesit-induce-sparse-tree "treesit.c") (declare-function treesit-node-child-by-field-name "treesit.c") (declare-function treesit-node-child-count "treesit.c") +(declare-function treesit-node-eq "treesit.c") (declare-function treesit-node-first-child-for-pos "treesit.c") (declare-function treesit-node-parent "treesit.c") +(declare-function treesit-node-prev-sibling "treesit.c") (declare-function treesit-node-start "treesit.c") (declare-function treesit-node-end "treesit.c") (declare-function treesit-node-type "treesit.c")