[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5d3e689 03/31: Update the remaining callers of company-cal
From: |
Dmitry Gutov |
Subject: |
[elpa] master 5d3e689 03/31: Update the remaining callers of company-calculate-candidates |
Date: |
Sun, 14 Apr 2019 22:06:15 -0400 (EDT) |
branch: master
commit 5d3e6892e1be83c4fe41d45838362e39bff28a0d
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Update the remaining callers of company-calculate-candidates
---
company.el | 3 ++-
test/core-tests.el | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/company.el b/company.el
index 9a04201..973be1b 100644
--- a/company.el
+++ b/company.el
@@ -1812,7 +1812,8 @@ each one wraps a part of the input string."
(and (not (string= re ""))
company-search-filtering
(lambda (candidate) (string-match re candidate))))
- (cc (company-calculate-candidates company-prefix)))
+ (cc (company-calculate-candidates company-prefix
+ (company-call-backend
'ignore-case))))
(unless cc (user-error "No match"))
(company-update-candidates cc)))
diff --git a/test/core-tests.el b/test/core-tests.el
index 2e0c77f..f3655a8 100644
--- a/test/core-tests.el
+++ b/test/core-tests.el
@@ -127,7 +127,7 @@
(annotation "3")
(candidates '("e"))
(post-completion "74"))))))
- (let ((candidates (company-calculate-candidates nil)))
+ (let ((candidates (company-calculate-candidates nil nil)))
(should (equal candidates '("a" "b" "c" "d" "e")))
(should (equal t (company-call-backend 'ignore-case)))
(should (equal "1" (company-call-backend 'annotation (nth 0
candidates))))
- [elpa] master updated (a2911f6 -> 5deda28), Dmitry Gutov, 2019/04/14
- [elpa] master 4f2d27e 02/31: Avoid using company-preview-frontend when it'll be invisible, Dmitry Gutov, 2019/04/14
- [elpa] master 201577c 01/31: Begin completion on a unique match if the user really wants that, Dmitry Gutov, 2019/04/14
- [elpa] master efb76d3 06/31: Add a couple of tests for 'unique' behavior, Dmitry Gutov, 2019/04/14
- [elpa] master e5408b5 07/31: Add a clarifying message, Dmitry Gutov, 2019/04/14
- [elpa] master 8576100 08/31: Add a NEWS entry, Dmitry Gutov, 2019/04/14
- [elpa] master 5d3e689 03/31: Update the remaining callers of company-calculate-candidates,
Dmitry Gutov <=
- [elpa] master f53327b 12/31: Merge pull request #858 from nikital/tng-fix-lookup-key, Dmitry Gutov, 2019/04/14
- [elpa] master 3873c4a 05/31: Remove outdated comment, Dmitry Gutov, 2019/04/14
- [elpa] master 04b8171 09/31: Fix a typo, Dmitry Gutov, 2019/04/14
- [elpa] master ebf1301 04/31: Merge branch 'master' into forced-completion-for-unique-match, Dmitry Gutov, 2019/04/14
- [elpa] master 3d4e87c 11/31: company: company--company-command-p: Fix lookup-key, Dmitry Gutov, 2019/04/14
- [elpa] master b696b39 10/31: Don't run company-completed-started-hook unnecessarily, Dmitry Gutov, 2019/04/14
- [elpa] master a7c689a 14/31: Merge pull request #859 from yqrashawn/customizable-numbers, Dmitry Gutov, 2019/04/14
- [elpa] master 66ed6df 13/31: make numbers after candidates customizable, Dmitry Gutov, 2019/04/14
- [elpa] master 2b671ec 15/31: Move inhibit-redisplay higher, Dmitry Gutov, 2019/04/14
- [elpa] master 5bd5745 24/31: Merge pull request #883 from nikital/tng-document-no-post-completion, Dmitry Gutov, 2019/04/14