Make eglot doc function goto beginning of buffer

This commit is contained in:
Alexander Rosenberg 2024-03-20 17:12:23 -07:00
parent d1a7dac8a3
commit 049b01b803
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -532,6 +532,7 @@ to `posframe-show' if the display is graphical."
(read-only-mode -1) (read-only-mode -1)
(erase-buffer) (erase-buffer)
(insert info) (insert info)
(goto-char (point-min))
(special-mode) (special-mode)
(read-only-mode 1) (read-only-mode 1)
(when (not (get-buffer-window my/-eglot-documentation-buffer nil)) (when (not (get-buffer-window my/-eglot-documentation-buffer nil))