From 8d523f4fddbd8986340cf76f349ab18c0b3d5581 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 5 May 2022 17:28:10 -0700 Subject: [PATCH] Quiet compiler warnings. * eldoc-box.el (eldoc-box-hover-mode, eldoc-box-hover-at-point-mode): New declare. --- eldoc-box.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eldoc-box.el b/eldoc-box.el index f770e01..5caffb4 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -185,6 +185,8 @@ Intended for internal use." ;;;;; Function +;; Please compiler. +(defvar eldoc-box-hover-mode) (defun eldoc-box--display (str) "Display STR in childframe. STR has to be a proper documentation, not empty string, not nil, etc." @@ -364,6 +366,8 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'." ;; used in `eldoc-box--maybe-cleanup' "Last point when eldoc-box showed childframe.") +;; Please compiler. +(defvar eldoc-box-hover-at-point-mode) (defun eldoc-box--maybe-cleanup () "Clean up after ElDoc." ;; timer is global, so this function will be called outside