1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-10 15:25:04 -07:00

; Fix byte-compilation warnings in markdown-ts-mode

* lisp/textmodes/markdown-ts-mode-x.el: Use
'treesit-declare-unavailable-functions'.

* lisp/treesit.el (treesit-declare-unavailable-functions): Add
declaration.
This commit is contained in:
Eli Zaretskii 2026-05-05 11:42:12 +03:00
parent d48b774524
commit 47e014ff90
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,8 @@ The function is called with one argument, the file name."
(defconst markdown-ts--convert-output-buffer
"*markdown-ts-convert output*")
(treesit-declare-unavailable-functions)
(defvar markdown-ts-converters
(list
(cons 'html

View file

@ -131,6 +131,8 @@ in a Emacs not built with tree-sitter library."
(declare-function treesit-available-p "treesit.c")
(declare-function treesit-parser-remove-notifier "treesit.c")
(defvar treesit-thing-settings)
(defvar treesit-major-mode-remap-alist)
(defvar treesit-extra-load-path)))