From 92f99bbd964dd65216509d77c67d3b775c4849ea Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 13 Mar 2019 15:31:17 +0700 Subject: [PATCH] Silence warnings. --- doom-modeline-core.el | 8 ++++++++ doom-modeline-segments.el | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doom-modeline-core.el b/doom-modeline-core.el index 706e67b..5a8bb2d 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -238,6 +238,14 @@ The icons may not be showed correctly in terminal and on Windows.") ;; Externals ;; +(defvar all-the-icons-scale-factor) + +(declare-function all-the-icons-alltheicon 'all-the-icons) +(declare-function all-the-icons-faicon 'all-the-icons) +(declare-function all-the-icons-icon-for-file 'all-the-icons) +(declare-function all-the-icons-icon-for-mode 'all-the-icons) +(declare-function all-the-icons-material 'all-the-icons) +(declare-function all-the-icons-octicon 'all-the-icons) (declare-function face-remap-remove-relative 'face-remap) (declare-function project-current 'project) (declare-function project-roots 'project) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index fe8b853..3c1d695 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -131,9 +131,9 @@ (declare-function jsonrpc-last-error 'jsonrpc) (declare-function lsp--workspace-print 'lsp-mode) (declare-function lsp-describe-session 'lsp-mode) -(declare-function lsp-rename 'lsp-mode) (declare-function lsp-restart-workspace 'lsp-mode) (declare-function lsp-shutdown-workspace 'lsp-mode) +(declare-function lsp-workspace-folders-switch 'lsp-mode) (declare-function lsp-workspaces 'lsp-mode) (declare-function magit-toplevel 'magit-git) (declare-function mc/num-cursors 'multiple-cursors-core)