Make sure point is at top when displaying childframe

This commit is contained in:
Yuan Fu 2019-01-04 19:06:43 -05:00
parent 4dc269bc1e
commit ec9a4003de
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -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 ;; and `eldoc-box--maybe-cleanup' in `eldoc-box--cleanup-timer' will clear the childframe
(setq eldoc-box-hover-mode t) (setq eldoc-box-hover-mode t)
(erase-buffer) (erase-buffer)
(insert str)) (insert str)
(goto-char (point-min)))
(eldoc-box--get-frame doc-buffer)))) (eldoc-box--get-frame doc-buffer))))