From: Eli Zaretskii Date: Sun, 23 Jul 2023 05:16:14 +0000 (+0300) Subject: ; * lisp/progmodes/typescript-ts-mode.el (treesit-query-capture): Declare. X-Git-Tag: emacs-29.1-rc1~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee20b50dfeded512ecdc784421f8bbe97161d729;p=emacs.git ; * lisp/progmodes/typescript-ts-mode.el (treesit-query-capture): Declare. --- diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 173ec52f209..ae0a80aea86 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -33,6 +33,7 @@ (require 'c-ts-common) ; For comment indent and filling. (declare-function treesit-parser-create "treesit.c") +(declare-function treesit-query-capture "treesit.c") (defcustom typescript-ts-mode-indent-offset 2 "Number of spaces for each indentation step in `typescript-ts-mode'."