branch: elpa/eldoc-mouse
commit 102fad787e42fa32cb874be9a77e4ebcb6b52927
Author: huangfeiyu <[email protected]>
Commit: GitHub <[email protected]>
Refactor eldoc-mouse.el to enhance function filtering
avoid calling function eglot-code-action-suggestion from eldoc-mouse
---
eldoc-mouse.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index d9f6ff9daf..fc7f96b41c 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -315,6 +315,8 @@ So it won't call `eglot--highlight-piggyback` with `CB`."
(and (not (function-equal f
#'eglot-hover-eldoc-function))
(or (not (fboundp
'eglot-highlight-eldoc-function))
(not (with-no-warnings
(function-equal f #'eglot-highlight-eldoc-function))))
+ (or (not (fboundp
'eglot-code-action-suggestion))
+ (not (with-no-warnings
(function-equal f #'eglot-code-action-suggestion))))
(not (function-equal f
#'eglot-signature-eldoc-function))))
eldoc-documentation-functions))
(fun-list2 (append eldoc-mouse-eldoc-documentation-functions
fun-list1)))