tag: 1.2
commit 5aea589fcf6aceb2299e86cb3c8717797606a6a9
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Close #58: Erase company-doc buffer in between doc requests
* eglot.el (eglot-completion-at-point): Erase temporary
"*eglot-doc*" buffer for company's doc.
---
eglot.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/eglot.el b/eglot.el
index f590313..0bb162b 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1312,6 +1312,7 @@ is not active."
:documentation)))))
(when documentation
(with-current-buffer (get-buffer-create " *eglot doc*")
+ (erase-buffer)
(insert (eglot--format-markup documentation))
(current-buffer)))))
:exit-function (lambda (_string _status)