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

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

[elpa] master 955f80e 19/38: company-doc-buffer: Make sure to reset the


From: Dmitry Gutov
Subject: [elpa] master 955f80e 19/38: company-doc-buffer: Make sure to reset the major mode
Date: Sat, 25 Jul 2020 19:51:14 -0400 (EDT)

branch: master
commit 955f80e6c911a818611887bc35658af9e925ed66
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    company-doc-buffer: Make sure to reset the major mode
---
 company.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/company.el b/company.el
index 75836b6..12ba0c8 100644
--- a/company.el
+++ b/company.el
@@ -2283,6 +2283,7 @@ character, stripping the modifiers.  That character must 
be a digit."
 (defun company-doc-buffer (&optional string)
   (with-current-buffer (get-buffer-create "*company-documentation*")
     (erase-buffer)
+    (fundamental-mode)
     (when string
       (save-excursion
         (insert string)



reply via email to

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