From 4a6bf64e742ba668d5683ccc952f42c3ee316cff Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 10 Jun 2024 18:00:27 +0200 Subject: [PATCH] ; Silence a byte-compiler warning in typescript-ts-mode.el * lisp/progmodes/typescript-ts-mode.el (treesit-node-child): Declare. (cherry picked from commit e6b771570e064e7e8f34b715eab74a013f713712) --- lisp/progmodes/typescript-ts-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index ed60819388f..74ed6aa2f94 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -32,6 +32,7 @@ (eval-when-compile (require 'rx)) (require 'c-ts-common) ; For comment indent and filling. +(declare-function treesit-node-child "treesit.c") (declare-function treesit-node-start "treesit.c") (declare-function treesit-node-end "treesit.c") (declare-function treesit-parser-create "treesit.c") -- 2.39.2