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

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

[elpa] master 1646a10 16/66: Always get candidates with prefix string in


From: Dmitry Gutov
Subject: [elpa] master 1646a10 16/66: Always get candidates with prefix string in `company-diag`.
Date: Mon, 5 Nov 2018 18:19:14 -0500 (EST)

branch: master
commit 1646a101671eb1bc78667a49ea8eaa5ada027f8a
Author: Caibin Chen <address@hidden>
Commit: Caibin Chen <address@hidden>

    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]