]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid byte-compilation warnings in php-ts-mode
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Jun 2024 17:03:39 +0000 (20:03 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Jun 2024 17:33:29 +0000 (19:33 +0200)
* 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)

lisp/progmodes/php-ts-mode.el

index fc029a171205748802a0b05e640c8c0967217eb4..f6b805f7e8e31c69a61c1300dc2754aadc192998 100644 (file)
@@ -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