From d1b8cb5066544c60552ad017143a927912f9fc72 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 31 Mar 2023 11:58:20 -0700 Subject: [PATCH] * eldoc-box.el (eldoc-box--display): Workaround (issue#66). --- eldoc-box.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eldoc-box.el b/eldoc-box.el index 7aa154d..d87f2fc 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -280,6 +280,9 @@ STR has to be a proper documentation, not empty string, not nil, etc." (let ((doc-buffer (get-buffer-create eldoc-box--buffer))) (with-current-buffer doc-buffer (setq mode-line-format nil) + ;; WORKAROUND: (issue#66) If cursor-type is ‘box’, sometimes the + ;; cursor is still shown for some reason. + (setq-local cursor-type t) (when (bound-and-true-p global-tab-line-mode) (setq tab-line-format nil)) ;; without this, clicking childframe will make doc buffer the current buffer