branch: elpa/eldoc-mouse
commit 29cb4fbba5e72d87fb5f13f8a1fbfea1436d0bc6
Author: huangfeiyu <[email protected]>
Commit: GitHub <[email protected]>
improvement to eglot 1.19
---
eldoc-mouse.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index 05021f6b060..382839805b3 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -281,6 +281,8 @@ So it won't call `eglot--highlight-piggyback` with `CB`."
"Get the eldoc documentation functions defined by eldoc-mouse."
(let* ((fun-list1 (seq-filter (lambda (f)
(and (not (function-equal f
#'eglot-hover-eldoc-function))
+ (or (not (fboundp
'eglot-highlight-eldoc-function))
+ (not (function-equal f
#'eglot-highlight-eldoc-function)))
(not (function-equal f
#'eglot-signature-eldoc-function))))
eldoc-documentation-functions))
(fun-list2 (append eldoc-mouse--eldoc-documentation-functions
fun-list1)))