emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot e476411 19/62: Close #58: Erase company-doc buffe


From: Stefan Monnier
Subject: [elpa] externals/eglot e476411 19/62: Close #58: Erase company-doc buffer in between doc requests
Date: Sat, 29 Sep 2018 17:13:30 -0400 (EDT)

branch: externals/eglot
commit e4764117b58ff7f2f85d96f388242960926bc57b
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]