mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-30 17:22:17 -07:00
; Fix byte-compilation warnings in non-Tree-Sitter builds
* lisp/progmodes/eglot.el (treesit-grammar-location): * lisp/treesit.el (treesit-grammar-location): Declare.
This commit is contained in:
parent
23575adc7b
commit
cf96e9cb5a
2 changed files with 3 additions and 0 deletions
|
|
@ -720,6 +720,7 @@ This can be useful when using docker to run a language server.")
|
|||
(if (>= emacs-major-version 27) (executable-find command remote)
|
||||
(executable-find command)))
|
||||
|
||||
(declare-function treesit-grammar-location "treesit.c")
|
||||
(defun eglot--accepted-formats ()
|
||||
(if (and (not eglot-prefer-plaintext)
|
||||
(or (fboundp 'gfm-view-mode)
|
||||
|
|
|
|||
|
|
@ -133,6 +133,8 @@ in a Emacs not built with tree-sitter library."
|
|||
|
||||
(declare-function treesit-parser-remove-notifier "treesit.c")
|
||||
|
||||
(declare-function treesit-grammar-location "treesit.c")
|
||||
|
||||
(defvar treesit-thing-settings)
|
||||
(defvar treesit-major-mode-remap-alist)
|
||||
(defvar treesit-extra-load-path)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue