branch: master commit 38ef92d6273113c2b3d2a302129ad37a30f98998 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Force sync when company-require-match is t #337 --- company.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/company.el b/company.el index a1fe54d..915f1bd 100644 --- a/company.el +++ b/company.el @@ -1224,7 +1224,10 @@ can retrieve meta-data for them." (defun company--fetch-candidates (prefix) (let* ((non-essential (not (company-explicit-action-p))) - (c (if company--manual-action + (c (if (or company-selection-changed + ;; FIXME: This is not ideal, but we have not managed to deal + ;; with these situations in a better way yet. + (company-require-match-p)) (company-call-backend 'candidates prefix) (company-call-backend-raw 'candidates prefix)))) (if (not (eq (car c) :async))