branch: elpa/eldoc-mouse
commit 655d2b617c5d8b1039c62215c51ec30948a51ac7
Author: huangfeiyu <[email protected]>
Commit: GitHub <[email protected]>

    Enable visual line mode in posframe initialization
---
 eldoc-mouse.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index 84477e92ebc..6d86136a63b 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -358,6 +358,7 @@ Argument CB is the callback function."
     (setq-local eldoc-mouse--original-display-functions nil))
   (posframe-show
    eldoc-mouse-posframe-buffer-name
+   :initialize (lambda () (visual-line-mode t))
    :position (car eldoc-mouse-last-symbol-bounds)
    :poshandler #'posframe-poshandler-point-bottom-left-corner-upward
    :max-width eldoc-mouse-posframe-max-width

Reply via email to