branch: elpa/eldoc-mouse
commit c0b363a178eab981c33bb8cef3b16a1f6b057c83
Author: Vincent Zhang <[email protected]>
Commit: Vincent Zhang <[email protected]>
docs(eldoc-mouse): Update docstring for posframe override parameters
Clarify the description of
`eldoc-mouse-posframe-override-parameters` to improve readability
and conciseness. Add declaration for
`eglot-highlight-eldoc-function` to ensure function recognition.
---
eldoc-mouse.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index a4ccd2492cf..6bd2c181f0e 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -55,6 +55,8 @@
(require 'eglot)
(require 'cl-lib)
+(declare-function eglot-highlight-eldoc-function "eglot")
+
(defgroup eldoc-mouse nil
"Dispay document for mouse hover."
:prefix "eldoc-mouse-"
@@ -99,8 +101,11 @@ no limit, the popup may affect writing."
:type 'string
:group 'eldoc-mouse)
-(defcustom eldoc-mouse-posframe-override-parameters '((drag-internal-border
. t))
- "This is very powful, *all* the valid frame parameters used by posframe’s
frame can be overridden by it."
+(defcustom eldoc-mouse-posframe-override-parameters
+ '((drag-internal-border . t))
+ "Specify override parameters for the posframe's frame.
+This variable allows any valid frame parameters used by posframe's frame
+to be overridden."
:type '(alist :key-type symbol :value-type (choice integer boolean))
:group 'eldoc-mouse)