Quiet compiler warnings.

* eldoc-box.el (eldoc-box-hover-mode, eldoc-box-hover-at-point-mode):
New declare.
This commit is contained in:
Yuan Fu 2022-05-05 17:28:10 -07:00
parent b90780c93c
commit 8d523f4fdd
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -185,6 +185,8 @@ Intended for internal use."
;;;;; Function ;;;;; Function
;; Please compiler.
(defvar eldoc-box-hover-mode)
(defun eldoc-box--display (str) (defun eldoc-box--display (str)
"Display STR in childframe. "Display STR in childframe.
STR has to be a proper documentation, not empty string, not nil, etc." 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' ;; used in `eldoc-box--maybe-cleanup'
"Last point when eldoc-box showed childframe.") "Last point when eldoc-box showed childframe.")
;; Please compiler.
(defvar eldoc-box-hover-at-point-mode)
(defun eldoc-box--maybe-cleanup () (defun eldoc-box--maybe-cleanup ()
"Clean up after ElDoc." "Clean up after ElDoc."
;; timer is global, so this function will be called outside ;; timer is global, so this function will be called outside