diff --git a/lisp/textmodes/markdown-ts-mode-x.el b/lisp/textmodes/markdown-ts-mode-x.el index 7405078ab4b..1327191828e 100644 --- a/lisp/textmodes/markdown-ts-mode-x.el +++ b/lisp/textmodes/markdown-ts-mode-x.el @@ -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 diff --git a/lisp/treesit.el b/lisp/treesit.el index baebdbb31dc..c03740159c7 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -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)))