diff --git a/eldoc-box.el b/eldoc-box.el index 5a84246..2d65c61 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -175,7 +175,8 @@ You can use C-g to hide the doc." ;; and `eldoc-box--maybe-cleanup' in `eldoc-box--cleanup-timer' will clear the childframe (setq eldoc-box-hover-mode t) (erase-buffer) - (insert str)) + (insert str) + (goto-char (point-min))) (eldoc-box--get-frame doc-buffer))))