From: Eli Zaretskii Date: Sat, 16 Sep 2023 11:26:46 +0000 (+0300) Subject: ; Declare some treesit.c functions in typescript-ts-mode.el. X-Git-Tag: emacs-29.1.90~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=755ae813a6a;p=emacs.git ; Declare some treesit.c functions in typescript-ts-mode.el. --- diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 7108ff49b28..e708e38195d 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -32,8 +32,11 @@ (eval-when-compile (require 'rx)) (require 'c-ts-common) ; For comment indent and filling. +(declare-function treesit-node-start "treesit.c") +(declare-function treesit-node-end "treesit.c") (declare-function treesit-parser-create "treesit.c") (declare-function treesit-query-capture "treesit.c") +(declare-function treesit-query-compile "treesit.c") (defcustom typescript-ts-mode-indent-offset 2 "Number of spaces for each indentation step in `typescript-ts-mode'."