* eldoc-box.el (eldoc-box--display): Workaround (issue#66).

This commit is contained in:
Yuan Fu 2023-03-31 11:58:20 -07:00
parent c805bfcd61
commit d1b8cb5066
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -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