[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9dbabd1 08/12: company-diag: Output major mode as well
From: |
Dmitry Gutov |
Subject: |
[elpa] master 9dbabd1 08/12: company-diag: Output major mode as well |
Date: |
Sat, 15 Jul 2017 13:36:45 -0400 (EDT) |
branch: master
commit 9dbabd146c5884c1a1940eef010bcf834510a8e2
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
company-diag: Output major mode as well
---
company.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/company.el b/company.el
index 9a3a725..f361bb7 100644
--- a/company.el
+++ b/company.el
@@ -2340,6 +2340,7 @@ If SHOW-VERSION is non-nil, show the version in the echo
area."
"Pop a buffer with information about completions at point."
(interactive)
(let* ((bb company-backends)
+ (mode (symbol-name major-mode))
backend
(prefix (cl-loop for b in bb
thereis (let ((company-backend b))
@@ -2365,6 +2366,8 @@ If SHOW-VERSION is non-nil, show the version in the echo
area."
(insert "\n")
(insert "Used backend: " (pp-to-string backend))
(insert "\n")
+ (insert "Major mode: " mode)
+ (insert "\n")
(insert "Prefix: " (pp-to-string prefix))
(insert "\n")
(insert (message "Completions:"))
- [elpa] master updated (e9faca6 -> 89bd25a), Dmitry Gutov, 2017/07/15
- [elpa] master 950c547 04/12: Be more accurate about when to return `stop', Dmitry Gutov, 2017/07/15
- [elpa] master 1fe2634 02/12: Fix #665 quick and dirty, Dmitry Gutov, 2017/07/15
- [elpa] master a5289c5 03/12: Fix backspacing into a "bad" prefix, Dmitry Gutov, 2017/07/15
- [elpa] master 9dbabd1 08/12: company-diag: Output major mode as well,
Dmitry Gutov <=
- [elpa] master 4184494 10/12: Update NEWS, Dmitry Gutov, 2017/07/15
- [elpa] master a557460 05/12: Set company-template-nav-map as parent of company-template-field-map, Dmitry Gutov, 2017/07/15
- [elpa] master 6d80e9f 09/12: company--col-row: Disable native line numbers temporarily, Dmitry Gutov, 2017/07/15
- [elpa] master a43f944 06/12: Merge pull request #674 from ptrv/fix-company-template-field-keymap, Dmitry Gutov, 2017/07/15
- [elpa] master 6d05ca5 07/12: Remove dead code, Dmitry Gutov, 2017/07/15
- [elpa] master b753952 01/12: Add function and binding to clear template field and move to next (#660), Dmitry Gutov, 2017/07/15
- [elpa] master 89bd25a 12/12: Merge commit 'a197b072dc93dbad238f1dc70da01e3775ebfb56' from company, Dmitry Gutov, 2017/07/15
- [elpa] master a197b07 11/12: Release 0.9.4, Dmitry Gutov, 2017/07/15