summaryrefslogtreecommitdiff
path: root/lisp/textmodes/toml-ts-mode.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-28 16:41:58 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-28 16:41:58 +0200
commit2d0a92148630858754319bd067f8ce409231f176 (patch)
tree22dea58ec0ccd56279e368bc577e3ae063bde4f1 /lisp/textmodes/toml-ts-mode.el
parent8503b370be104c2ee40a34e38f69d144f19b0314 (diff)
downloademacs-2d0a92148630858754319bd067f8ce409231f176.tar.gz
emacs-2d0a92148630858754319bd067f8ce409231f176.tar.bz2
emacs-2d0a92148630858754319bd067f8ce409231f176.zip
; Avoid treesit-related byte-compiler warnings
* lisp/progmodes/json-ts-mode.el (treesit-node-child-by-field-name): * lisp/textmodes/toml-ts-mode.el (treesit-node-child-by-field-name): * lisp/progmodes/java-ts-mode.el (treesit-node-child-by-field-name): * lisp/progmodes/csharp-mode.el (treesit-node-child-by-field-name): Avoid byte-compilation warnings about treesit-node-type.
Diffstat (limited to 'lisp/textmodes/toml-ts-mode.el')
-rw-r--r--lisp/textmodes/toml-ts-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/textmodes/toml-ts-mode.el b/lisp/textmodes/toml-ts-mode.el
index 7771cfa6e2a..983a1401008 100644
--- a/lisp/textmodes/toml-ts-mode.el
+++ b/lisp/textmodes/toml-ts-mode.el
@@ -32,6 +32,7 @@
(declare-function treesit-parser-create "treesit.c")
(declare-function treesit-induce-sparse-tree "treesit.c")
(declare-function treesit-node-start "treesit.c")
+(declare-function treesit-node-type "treesit.c")
(declare-function treesit-node-child-by-field-name "treesit.c")
(defcustom toml-ts-mode-indent-offset 2