]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix byte-compilation warning
authorEli Zaretskii <eliz@gnu.org>
Sun, 5 Feb 2023 17:10:39 +0000 (19:10 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 5 Feb 2023 17:10:39 +0000 (19:10 +0200)
* lisp/progmodes/rust-ts-mode.el (treesit-query-compile): Avoid
byte-compilation warning.

lisp/progmodes/rust-ts-mode.el

index 3beaa741605a2c6b2704d81bf8ac4377e0ad51c7..571e268c221a62d6eadabb8f5850dee3cf4cbe4a 100644 (file)
@@ -38,6 +38,7 @@
 (declare-function treesit-node-start "treesit.c")
 (declare-function treesit-node-type "treesit.c")
 (declare-function treesit-node-parent "treesit.c")
+(declare-function treesit-query-compile "treesit.c")
 
 (defcustom rust-ts-mode-indent-offset 4
   "Number of spaces for each indentation step in `rust-ts-mode'."