branch: externals/company commit 0edc87d423b83c707e6c708f421d96f4d198803d Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Fix a couple of warnings Closes #1006 --- company-tng.el | 2 ++ company-yasnippet.el | 1 + 2 files changed, 3 insertions(+) diff --git a/company-tng.el b/company-tng.el index f492f26..31c0823 100644 --- a/company-tng.el +++ b/company-tng.el @@ -143,6 +143,8 @@ confirm the selection and finish the completion." (define-obsolete-function-alias 'company-tng-configure-default 'company-tng-mode "0.9.14" "Applies the default configuration to enable company-tng.") +(declare-function eglot--snippet-expansion-fn "eglot") + ;;;###autoload (define-minor-mode company-tng-mode "This minor mode enables `company-tng-frontend'." diff --git a/company-yasnippet.el b/company-yasnippet.el index c2c2688..c846d6f 100644 --- a/company-yasnippet.el +++ b/company-yasnippet.el @@ -34,6 +34,7 @@ (declare-function yas--template-content "yasnippet") (declare-function yas--template-expand-env "yasnippet") (declare-function yas--warning "yasnippet") +(declare-function yas-minor-mode "yasnippet") (defvar company-yasnippet-annotation-fn (lambda (name)