From 1ba418ba2b0fb48aca5184439076987a354d25f1 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sat, 11 Jun 2022 18:15:02 -0700 Subject: [PATCH] Enable visual-line-mode in childframe * eldoc-box.el (eldoc-box--display): Add visual-line-mode. --- eldoc-box.el | 1 + 1 file changed, 1 insertion(+) diff --git a/eldoc-box.el b/eldoc-box.el index 5caffb4..813a3e5 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -202,6 +202,7 @@ STR has to be a proper documentation, not empty string, not nil, etc." (erase-buffer) (insert str) (goto-char (point-min)) + (visual-line-mode) (run-hook-with-args 'eldoc-box-buffer-hook)) (eldoc-box--get-frame doc-buffer)))