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

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

[elpa] master 906deab 14/29: Merge pull request #625 from juergenhoetzel


From: Dmitry Gutov
Subject: [elpa] master 906deab 14/29: Merge pull request #625 from juergenhoetzel/company-diag-consp
Date: Tue, 28 Mar 2017 20:50:35 -0400 (EDT)

branch: master
commit 906deabef91c217658635e55f726a7de379e9560
Merge: 21357f6 f0ff54e
Author: Dmitry Gutov <address@hidden>
Commit: GitHub <address@hidden>

    Merge pull request #625 from juergenhoetzel/company-diag-consp
    
    company-diag: Also show completions if prefix is a cons
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index d219b7d..805a3ec 100644
--- a/company.el
+++ b/company.el
@@ -2345,7 +2345,7 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
                                     (setq backend b)
                                     (company-call-backend 'prefix))))
          cc annotations)
-    (when (stringp prefix)
+    (when (or (stringp prefix) (consp prefix))
       (let ((company-backend backend))
         (setq cc (company-call-backend 'candidates prefix)
               annotations



reply via email to

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