From: Eli Zaretskii Date: Sat, 15 Jun 2024 17:03:39 +0000 (+0300) Subject: Avoid byte-compilation warnings in php-ts-mode X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=801d494a7a32990a5317538b141b363ccbf4ede8;p=emacs.git Avoid byte-compilation warnings in php-ts-mode * lisp/progmodes/php-ts-mode.el (treesit-search-forward) (treesit-node-prev-sibling, treesit-node-first-child-for-pos): Declare. (cherry picked from commit 9b2e1b5e16c233cf5ea039e17175580793a4e5ef) --- diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index fc029a17120..f6b805f7e8e 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -76,6 +76,9 @@ (declare-function treesit-parser-included-ranges "treesit.c") (declare-function treesit-parser-list "treesit.c") (declare-function treesit-parser-language "treesit.c") +(declare-function treesit-search-forward "treesit.c") +(declare-function treesit-node-prev-sibling "treesit.c") +(declare-function treesit-node-first-child-for-pos "treesit.c") ;;; Install treesitter language parsers (defvar php-ts-mode--language-source-alist