From: Andrea Corallo Date: Mon, 10 Jun 2024 16:00:27 +0000 (+0200) Subject: ; Silence a byte-compiler warning in typescript-ts-mode.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a6bf64e742ba668d5683ccc952f42c3ee316cff;p=emacs.git ; 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) --- 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")