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

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

[elpa] master 67650de 17/66: Merge pull request #769 from tigersoldier/m


From: Dmitry Gutov
Subject: [elpa] master 67650de 17/66: Merge pull request #769 from tigersoldier/master
Date: Mon, 5 Nov 2018 18:19:14 -0500 (EST)

branch: master
commit 67650dee565c57568d22065041326a58eb0f891d
Merge: a78f7d8 1646a10
Author: Dmitry Gutov <address@hidden>
Commit: GitHub <address@hidden>

    Merge pull request #769 from tigersoldier/master
    
    Always get candidates with prefix string in `company-diag`
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index cbe3781..f4355b3 100644
--- a/company.el
+++ b/company.el
@@ -2388,7 +2388,7 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
          cc annotations)
     (when (or (stringp prefix) (consp prefix))
       (let ((company-backend backend))
-        (setq cc (company-call-backend 'candidates prefix)
+        (setq cc (company-call-backend 'candidates (company--prefix-str 
prefix))
               annotations
               (mapcar
                (lambda (c) (cons c (company-call-backend 'annotation c)))



reply via email to

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