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

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

[elpa] master 7941f6e 010/173: company-diag: Include Emacs and Company v


From: Dmitry Gutov
Subject: [elpa] master 7941f6e 010/173: company-diag: Include Emacs and Company versions
Date: Thu, 23 Jun 2016 00:28:34 +0000 (UTC)

branch: master
commit 7941f6e8e18b48ce5ff822bd8a5d2af3540ca733
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-diag: Include Emacs and Company versions
---
 company.el |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/company.el b/company.el
index a95f7f3..0652fc3 100644
--- a/company.el
+++ b/company.el
@@ -2154,6 +2154,11 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
     (pop-to-buffer (get-buffer-create "*company-diag*"))
     (setq buffer-read-only nil)
     (erase-buffer)
+    (insert (format "Emacs %s (%s) of %s on %s"
+                    emacs-version system-configuration
+                    (format-time-string "%Y-%m-%d" emacs-build-time)
+                    emacs-build-system))
+    (insert "\nCompany " (company-version) "\n\n")
     (insert "company-backends: " (pp-to-string bb))
     (insert "\n")
     (insert "Used backend: " (pp-to-string backend))



reply via email to

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